The moose likes JSP and the fly likes Struts and output streams Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Struts and output streams" Watch "Struts and output streams" New topic
Author

Struts and output streams

jk jk
Greenhorn

Joined: Nov 12, 2002
Posts: 2
Hi everybodies, i am having an issue with retrieving a signature that was created via a pda, from a database. its not really a big issue, the application still runs as it is supposed to, its just a bug that i would like to get worked out. when i go to pull up the signature on the web application, it throws this error
java.lang.IllegalStateException: getOutputStream() has already been called for this response
java.lang.IllegalStateException: getOutputStream() has already been called for this response
at org.apache.catalina.connector.ResponseBase.getWriter(ResponseBase.java:755)
at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:165)
at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:166)
at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:158)
...........you get the idea. i read somewhere that the struts may effect output streams. is this true? if so, how may it be corrected...
jk jk
Greenhorn

Joined: Nov 12, 2002
Posts: 2
sombody? anybody? lol
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Struts and output streams
 
Similar Threads
exception llegalStateException , any body know the reason
Can't include other page content with RequestDispatcher.include()
Setting header and fetching OutputStream from Action
clarification regarding RequestDispatcher usage
RequestDispatcher include throws IllegalStateException?