thymeleaf - Stylesheets in new Spring MVC 4 -


I started a new web project in Spring MVC 4 (Spring Boot) and my question is that I have my CSS files Why should you keep it? I am using my folder structure as tememelif template engine and image Enter image details here

As you can see, I am trying to create a CSS folder under the Resources folder, but the link and lt; Any relation is not working from link.html = "stylesheet" href = "/ resources / css / main.css" /> index.html?

To:

By default the Spring Boot service will be provided in the classpath Or static content from the root of Seltocontext / static (or / public / or / or resources / META-INF / resources).

There is a sample or two, e.g.

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -