• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java IO Exception in JSP

 
Erick Heberling
Greenhorn
Posts: 13
  • 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
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remove expressions ie

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

Try this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic