RE: Overriding the default servlet

2004-06-29 Thread Ken Coward
To: [EMAIL PROTECTED] Subject: Re: Overriding the default servlet Now that is one sick puppy :(. You don't have to touch $CATALINA_HOME/conf/web.xml to override the default servlet. If you have any servlet in your apps web.xml file with a mapping to /, the Tomcat will replace it's defaul

Re: Overriding the default servlet

2004-06-28 Thread Bill Barker
Now that is one sick puppy :(. You don't have to touch $CATALINA_HOME/conf/web.xml to override the default servlet. If you have any servlet in your apps web.xml file with a mapping to /, the Tomcat will replace it's default servlet with yours. You should also strongly consider using a Filter to

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 the