In a Filter.doFilter method I made this call chain.doFilter.
What is doFilter doing inside a doFilter? Isn\'t it a recursive call?
doFilter
Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.