Spring MVC 4.2.2 – Best way to Add/Integrate JS, CSS and images into JSP

preview_player
Показать описание
In spring mvc where to put css/js/img files?
Why my project can’t find css, images and js static files, etc.
WARNING: No mapping found for HTTP request with URI [

Solution of ALLthe above question is in this video

ResourceMapping
----------------------------------------
mvc:resources mapping="/css-style/**" location="/css-style/" /
Рекомендации по теме
Комментарии
Автор

Thanks man I had bad time with how to make CSS works

sonigoku
Автор

how you added the style file link in your view page?
<link href="<c:url rel="stylesheet"> in this way?

biswajitmondal
Автор

I still get the same problem, do you have any suggestions?

simi