Introduction Dealing with http web frameworks, one day or the other one has to cope requirements that go beyond the standard features offered by the chosen platform. A common issue would be to change the request submitted by the client or the response content returned to it on the fly. Java Servlet technology deals with these issues basically with servlet filters and some … [Read more...] about How to modify the servlet request
Content
How to transform the servlet response content
Introduction In the previous post How to modify the servlet request we explained how to change the servlet request on the fly, using the servlet filter mechanism and the class HttpServletResponseWrapper. In the following paragraphs we are going to show how to change the response content just before it is sent back to the client. How to tranform the http response content We … [Read more...] about How to transform the servlet response content