tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <>
Subject Re: how to manipulate static content
Date Wed, 04 Jul 2007 09:07:24 GMT
Either map to '/*' your custom servlet that returning the static content
with your custom headers, either write a servletfilter that add
additional header before processing request.

En l'instant précis du 04/07/07 09:52, lior grinfeld s'exprimait en ces
> Hi,
> i am new at using tomcat.
> I want to use tomcat as a server to test our proxy. to do that i need to
> manipulate the response headers, i did that without problems using
> servlets.
> now i want to manipulate the http response headers or content of requests
> for static content.
> Ex. if i will do "GET myServer/somefile.txt" the tomcat will know to
> return
> the file and manipulate the response http headers as i want, or to do
> zip or
> to do chunks on the content.
> is it possible and how? where can i configure tomcat to refer to the
> directory where all my files are stored?

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message