the filter is only applied on teh original request, not for forward() or
include()

/* will match all files
/mydir/* will only match the files in /mydir
*.do will match all 'do' files - reguardless of path

/*.do - invalid, you cannot mix path and wildcard.

Charlie

> -----Original Message-----
> From: Wendy Smoak [mailto:Wendy.Smoak@;asu.edu]
> Sent: Thursday, October 24, 2002 5:57 PM
> To: 'Tomcat Users List'
> Subject: RE: Help with Filters
> 
> 
> I wrote:
> > <url-pattern>/*.do</url-pattern>
> > So that my initial "welcome" page won't get filtered, and 
> so hopefully
> only
> > the initial /editContact.do hit will get filtered, and only once.
> > Unfortunately, this isn't working-- 
> 
> It seems that the leading slash was incorrect.  This seems to 
> be working to
> filter *just* the Struts actions, and to only filter once per 
> "page" even
> with the multiple forwards that occur:
> 
>  <url-pattern>*.do</url-pattern>
> 
> Please let me know if I've still got it wrong.
> 
> -- 
> Wendy Smoak
> Applications Systems Analyst, Sr.
> Arizona State University PA Information Resources Management
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to