tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: injecting a new request within a filter
Date Wed, 27 Jul 2005 17:07:44 GMT
1) You need to be running tomcat 5
2) See SRV.6.2.5 Filters and the RequestDispatcher in the servlet spec - it 
discusses exactly what you need to do.

-Tim

Marten Lehmann wrote:

> Hello,
> 
> from within a filter, I'm trying to do the following:
> 
> request.getRequestDispatcher(req.getServletPath() + 
> "index.faces").forward(request, response);
> 
> This works generally fine. The problem is, that attached filters simply 
> aren't processed for this request. I have two filters in series, the 
> first filter is doing the above forward-request on a conditionally basis 
> and the second filter is never called in this case. How can I re-inject 
> the request, so that either both filters are passed again, or at least 
> the second filter (and maybe others following) is processed?
>  

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


Mime
View raw message