I am developing a webapp using Spring MVC 3 and have the DispatcherServlet catching all requests to \'/\' like so (web.xml):
DispatcherServlet
I just add three rules before spring default rule (/**) to tuckey's urlrewritefilter (urlrewrite.xml) to solve the problem
/ /app/welcome /scripts/** /scripts/$1 /styles/** /styles/$1 /images/** /images/$1 /** /app/$1 /app/** /$1