2
I’m using netbeans 7.3.1, apparently it’s working ok. Pages are opening normally, but when I try to access css content, jpg, ... within the Resources folder, no content appears.
In the file Dispatcher-Servlet.xml I put the following line:
<mvc:resources mapping="/resources/**" location="/resources/" />
and at index.jsp, I put the call as follows:
<link rel="stylesheet" href="resources/css/style.css" type="text/css"/>
Could someone help me?
Thank you so much for your help! Unfortunately I still have the same problem. I put the folders in the webapp (yes it is following the structure of the Maven); I replaced the following code in the file Dispatcher-Servlet.xml
<mvc:resources mapping="/img/**" location="/img/" />
 <mvc:resources mapping="/css/**" location="/css/" />
, and I made a simple call to jsp to check if the image was showing<img src="img/calendario.jpg" />
Is something missing? Sorry for the hassle. I’m new to spring MVC :)– Celso Agra