tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Price <>
Subject Re: using multiple filters
Date Wed, 22 Jan 2003 20:37:21 GMT

Craig R. McClanahan wrote:

>>Is testing the URL the most elegant way to achieve the former
>>(determining when the SecurityFilter should be in effect and when it
>>shouldn't)?  And to use the latter (a form validation filter) do I need
>>to register it in the same FilterChain as the the SecurityFilter?  Or
>>can there be two separate, disparate filters for a given resource?
> You can have any number of filters mapped to the same resources -- the
> container assembles the filter chain for you, so you don't need to worry
> about that.

I thought that the FilterChain is the last argument to my doFilter 
method call in my filter?  So then how do I specify which filter gets 
executed first?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message