No spec violation - the default servlet only use getServletPath() to
figure out what to get. By using a url pattern other than / - the url is
actually split between getServletPath and getPathInfo. (and default
servlet barfs)
The simple workaround is to use a filter mapped to
<url-pattern>/resources/css/*</url-pattern> which would look for your
pattern where you wish the default servlet to be used and forward to it
... for example:
doFilter(request, response) {
getServletContext().getNamedDispather("default").forward(request,
response);
}
-Tim
Serge Fonville wrote:
Just out of interest, but where, how and why does it violate the spec?
<SNIP>
You can't map the default servlet to anything other than /*. It isn't
designed to work in the manner you are using it.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org