tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Filter and servlet mapping problem
Date Mon, 28 Jul 2003 13:26:29 GMT

Taking the Filter out of the equation, can you find and use the servlets
in your context?

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Mailing Listen []
>Sent: Monday, July 28, 2003 8:19 AM
>Subject: Filter and servlet mapping problem
>I have written a filter for my webapp where i catch the response and
>Rewrite all URLs with a timestamp for bypassing some proxies that
>The settings i set on my webserver (e.g. no-cache, no-store,...). The
>Filter works fine, but i haveto modify the requests when the reache my
>webserver. I am able to do this, but this only works if i the servlets
>access are mapped in the web.xml of tomcat in the conf directory. The
>servlets that are mapped within the web.xmnl in the current context are
>For explaining my problem a little more here an example:
>I have a URL like /myjsp.jsp
>I rewrite ist with /myjsp_<timstamp_in_millis>.jsp
(<timstamp_in_millis> is
>the current timestamp) I filter this to /myjsp.jsp if the user requests
>rewritten URL For .jsps that are mapped in the conf/web.xml file (by
>default jsp servlet) anything works But i have some more servlet and
>special jsp mappings that are mapped within the context and here i
>an 404 although the servlet pathe and the URI are set correctly.
>Any advice is welcome
>Burkard Endres

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

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

View raw message