You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vincent-Olivier Arsenault <vi...@neuro6.com> on 2001/12/24 02:45:24 UTC

default servlet mapping

Hi!

I seem unable to override the default servlet in tomcat 4.0.1.

Here's an example deployement :

/         <-------> some servlet
/hello/   <-------> other servlet
/static/* <-------> default servlet (for static content)
/*        <-------> my overriden static content servlet

I tried to set the "/" mapping to a servlet that would handle both the 
"/" URI and all the non-matching URIs, but tomcat does't dispatch the 
requests to this servlet for paths other than "/" (exact match). I also 
tried "/*", and I get the same thing. When trying to override the 
servlet with "default" name, I get a deployment exception.


What can I do?

tnx,

vincent


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>