local values in WEB-INF/web.xml that 'match' values in conf/web.xml,
will always takes precedence (as stated in the spec).  And the *.jsp
mapping in conf/web.xml is what makes JSP's work, so I hadn't forgotten
that. ;)

 


> -----Original Message-----
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 27, 2003 9:34 AM
> To: Tomcat Users List
> Subject: Re: Map all URL to one servlet
> 
> 
> Mike,
> 
> >>However, this mapping will override any extension-mapped (e.g.
> >><url-pattern>*.jsp</url-pattern>) Servlet.  Of course, your 
> >>Servlet also has to be able to handle serving any static 
> >>resources (e.g. gifs, stylesheets) as well.
> > 
> > I'm currently using a /* mapping, and also using JSP pages, with no 
> > trouble.  So your assertion doesn't seem correct.  Any thoughts 
> > anyone?
> 
> Don't forget that there's also a default web.xml, found in 
> CATALINA_HOME/conf/web.xml. This usually contains the JSP compiler 
> servlet, etc. It's possible that they take precedence over 
> the values in 
> your application's web.xml file.
> 
> -chris
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to