Hi all,
The Servlet 2.3 spec. is somewhat ambiguous regarding the availability of certain functionalities in a filter.doFilter() method.
The spec. doesn't specifically disallow the use of dispatcher in the doFilter() method. (The context is clearly available and the filter can access RequestDispatcher.)
So the question is precisely this:
Can a filter use the requestDispatcher (obtained either from the context or the request objects) to redirect requests, or not?
Thank you very much in advance.
/J
-
Filters (1 messages)
- Posted by: Joubin Houshyar
- Posted on: September 23 2003 14:39 EDT
Threaded Messages (1)
- Filters by Ian Mitchell on September 23 2003 15:52 EDT
-
Filters[ Go to top ]
- Posted by: Ian Mitchell
- Posted on: September 23 2003 15:52 EDT
- in response to Joubin Houshyar
Yes it can. This may be done to avoid having the filter deal with the request.