Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"A filter's doFilter() method must call doFilter() on the input FilterChain object in order...."

 
Himai Minh
Ranch Hand
Posts: 1361
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On p.731 of Head First book,

Which about filters are true?
E. A filter's doFilter() method must call doFilter() on the input FilterChain object in order to ensure that all filters have a chance to execute.
...

The explanation is:

Option E is incorrect because calling doFilter() is not necessary if a filter wishes to block further request processing.


I think statement E and the explanation are both correct.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2536
113
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic