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 termes: > 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: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]