On Mon, 12 Nov 2001, Pavan Sethurathnam wrote:

> Date: Mon, 12 Nov 2001 20:45:00 -0800 (PST)
> From: Pavan Sethurathnam <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Filters - use of RequestDispatcher in Filters
>
> what happens if we use rd.forward(...some other
> resource) in filters... will it still continue down
> the filter chain?
>

It depends on what you do after the forward returns.  Typically, you would
just do a "return" from your Filter's doFilter() method (similar to just
doing a return after an RD.forward() in a servlet), because the response
has already been created -- but nothing stops you from calling
chain.doFilter() after the forward call returns.

Craig


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to