• Post Reply Bookmark Topic Watch Topic
  • New Topic

In which order filters works  RSS feed

 
VishalVikrant Singh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have three filters in my application defined in the web.xml.
below is mapping of the those in web.xml

As per understanding it goes in the order defined in the web.xml
Now my question is
if in each filter i add
chain.doFilter(req, resp);

then what will be the controling page after the last filter if i use
chain.doFilter(req, resp) in it.

Thanks in advance.

Regards
SinghV

[edit: code tags]
[ November 08, 2007: Message edited by: Bear Bibeault ]
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is not Struts specific, so I'm moving it to the Servlet forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "controlling page"?
 
VishalVikrant Singh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean what will be the next page after the last filter.
As in the last filter, chain.doFilter is being used.
 
Bosun Bello
Ranch Hand
Posts: 1512
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whatever page the user tried to access when the fillter intercepted the request.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!