I have read through many of these threads that are similar to mine, but none of the solutions offered fix my issue. Basically none of my css or images are being handled. The error specifically states:
Code:
WARNING: No mapping found for HTTP request with URI [/app/img/bg.gif] in DispatcherServlet with name 'app'
Here is my current web.xml file:
Code:
<servlet>
<servlet-name>app</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>app</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
My index.jsp file does a redirect:
Code:
<c:redirect url="/home" />
Here's my directory structure:
app
+src
+bin
-war
I am using Spring Framework 3.0.1.
I have tried several changes, but just can't get my images or css to be handled correctly. Any ideas would be very welcomed!