This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Struts and output streams Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
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://aspose.com/file-tools
 
subject: Struts and output streams
 
Similar Threads
Can't include other page content with RequestDispatcher.include()
exception llegalStateException , any body know the reason
RequestDispatcher include throws IllegalStateException?
Setting header and fetching OutputStream from Action
clarification regarding RequestDispatcher usage