I have a problem with my web application based on Spring MVC. There is my web.xml url mapping :
and here is my dispatcher-servlet.xml file mapping :
As I understand all queries will be redirected to the urlMapping bean. It worsk fine, as expected.
<bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
The problem is that I cant get to my web resources (css, js files e.t.c.) my links lead to nowhere, so when im trying to load something like
it fails, as I can understand it redirects the path to the urlMapping handler which in turn fails to find url that is not specified in the config.
<link href="/css/crazygrace.css" type="text/css" rel="stylesheet" />
is there something like best practice solution for this issue or may be Im doing something wrong?