tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Help Linking Static Content In a WebApp before and after (6.0.30.x)
Date Wed, 06 Jun 2012 11:48:32 GMT
2012/6/6 Morgan, Russel <>:
> What I don't know how to do is use that redirect filter/rewrite to change the url based
on the version of tomcat, which it seems I need to do, since the container pathing logic changed
across versions.

Do not use your trick of mapping DefaultServlet to wrong path and it
will work in both versions.

If you are really frustrated, you can fork, compile and configure your
own implementation of DefaultServlet and bundle it with your
application. It is just a servlet. It is not "core". Nothing in
implementation of the Servlet specification has changed. All
documented API works.

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message