Hi ranchers:
I've been stucked with a problem, I'm trying to implement HttpServletResponseWrapper, so I can get a hold of the response outputstream from a filter. I'm just implementing the example from the following webpage:
http://download-uk.oracle.com/docs/cd/A97329_03/web.902/a95878/filters.htm#998358 (Example 3 at the bottom), but it doesn't work if my request is a
JSP page, the stream that I get from the wrapper is empty, but it does work if it is a outputstream from a
Servlet (using getOutputStream()). I'm using Apache
Tomcat 5.5. Has anybody had a similar problem? I guess it must be an additional method from HttpServletResponseWrapper that needs to be overriden, I just can't find which one it is.
Thanks!