How to wrap request and response to generate customized request and response using servlet filters?
I want to write a filter that will be invoked before the request reaches to the servlet and want to do some modification in the request and then want to forward to the servlet.
Similarly, I want to modify the servlet generated response using the filter and want to forward the customized response to the client.