Hi,
There is nothing like Request Filter/response Filter...
there are only Filters....that act on request object before it is processed and response before it is sent back to client..
Client->Browser->Server->Filter
Code prior to chain.doFilter()
this code generally contains what we want to do with the request..any manipulations before it is processed
chain.doFilter()..
Filter->
Servlet This calls takes the flow to the actual resource requested(servlet...)
performs the actual logic
Servlet->Filter
And now the flow comes back to the code we might have put after
chain.doFilter() to manipulate the response using any wrapper object..
Filter->Client
Response goes to client
I havent mentioned here multiple filter/Request or Response Wrapper...
Regards