• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Ranch Hand
Posts: 1684
12
  • 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.
 
Creator of Enthuware JWS+ V6
Saloon Keeper
Posts: 3098
255
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with you.
 
Not so fast naughty spawn! I want you to know about
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!