[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: IllegalStateException: getOutputStream() has already bee

Raist_Majere do-not-reply at jboss.com
Fri May 25 01:57:50 EDT 2007


You can try using a Filter for getting the response output stream, doing the things with the API and putting the result in the request, then wrap the response with HttpServletResponseWrapper(response) before passing to chain.doFilter(request, wrapper). Maybe it's not the solution you expect... If not using a filter, i can't remember if first calling a servlet that does this and then forwarding to the jsp with the result would work too...
But for sure, you can't do it inside the JSP

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048565#4048565

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048565



More information about the jboss-user mailing list