Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Microservices in Action this week in the Web Services forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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

 
Ranch Hand
Posts: 1703
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
Posts: 3194
276
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
Boost this thread!