Overriding the default servlet

2004-06-28 Thread Ken Coward
I would like to replace the defaultServlet for image files within my web application. I want to set the Expires header to some date in the future to take advantage of the client cache. I modified the server web.xml (jakarta-tomcat-4.1.24\conf) by commenting out the existing declaration and then

RE: Overriding the default servlet

2004-06-29 Thread Ken Coward
default servlet with yours. You should also strongly consider using a Filter to do what you want, if all you want is to set some headers. Ken Coward [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I would like to replace the defaultServlet for image files within my web application. I want