Why this "url-pattern" is always un-nature? I always have difficulties
reading filter section in servlet spec 2.3. Couldn't we simply use /*.jsp in
the next release of servlet, i.e. servlet xp?

-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: October 22, 2004 10:32 AM
To: Tomcat Users List
Subject: Re: adding HTTP headers for all responses in web application


Actually the pattern is *.jsp - not /*.jsp

-Tim

Phillip Qin wrote:

> If your pattern is /*.jsp, then your filter applies to all jsps.
> 
> -----Original Message-----
> From: Mark [mailto:[EMAIL PROTECTED]
> Sent: October 22, 2004 1:19 AM
> To: Tomcat Users List
> Subject: RE: adding HTTP headers for all responses in web application
> 
> 
> question: will the filter applied to response for custom error pages 
> defined in web.xml:
> example:
> <error-page>
>   <exception-type>MyException</exception-type>
>   <location>/errorPage.jsp</location>
> </error-page>
> 


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


!DSPAM:417919e7101532314120084!

Reply via email to