| derwood king 2005-08-17, 12:20 pm |
| Hi,
I'm getting this error when trying to render and display images:
Servlet.service() for servlet jsp threw exception java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apache.catalina.connector.Response.getWriter(Response.java:595)
I have radio buttons to dynamically generate and display binary data. The image from the first radio button option displays just fine. When I choose the 2nd one, I get the error. Since I am using JSF along with JSP, the rendering classes are defined in faces-config.xml. Is there any way to find out what the response is (i.e., convert the (HttpServletResponse) response to string and print it so I can see what's going on)? I thought I had a different HttpServletResponse response for each radio button but apparently that's not the case.
Any ideas much appreciated.
TIA, D. K. |