I too ran into the same issue, and the way it works with Spring 3.0 is bu replaceing /* in the url-pattern to /
Anup Nair
2009-06-30 09:34:40
I too ran into the same issue, and the way it works with Spring 3.0 is bu replaceing /* in the url-pattern to /
You have to do something like this:
<servlet-mapping>
<servlet-name>baseproj</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
Otherwise your css, js, and images wont get resolved. I know it sucks but has to be done. I mask the http://localhost:8080/myapp/rest portion with apache mod_jk anyway so it doesnt matter.