This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java IO Exception in JSP

 
Erick Heberling
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the following error in my jsp.

==========================================
java.io.IOException: Data has already been flushed to the client
==========================================

This is occuring in a jsp that is receiving data from a servlet forward(req, res), then I am attempting to forward some data to another jsp from within the first. Maybe I am going about this the wrong way. I had used the following code in the jsp to forward:


Any suggestions on why I may be getting this error? I have never seen this one before.

Thanks
 
Erick Heberling
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about the double post, the first try I got some sort of error. Only meant for this to be posted once.

Thanks,
Erick
 
Shanthi Mari
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remove expressions ie

<jsp:forward page="ElectronicPage2.jsp"/>

Try this.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic