This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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
 
It's not a secret anymore!