Pg 700, K&B mentions doFilter as both callback and an inline function. The reason could be is because apart from getting called by the container, the devloper himself could put in a call to doFilter(request,response) to call the next filter/servlet in chain. [ March 14, 2007: Message edited by: Aniket Patil ]
SCJP 5.0 | SCWCD 1.4 <br /> <br />If you don't know where you are going, any road will take you there!
posted 12 years ago
Satou I have seen a question about callback functions in filter API in Filters chapetr of HFSJ book. In the answer the destroy()is selected as callback function. On other thing is that we call chain.doFilter() to invoke next filter in chain. Is this call not making doFilter() an inline method.
Anyone please confirm
"Know where to find the solution and how to use it - that's the secret of success."