• Post Reply Bookmark Topic Watch Topic
  • New Topic

IllegalStateException

 
Claudia Vaz
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am downloading a file from the server and saving it to the client disk.
I am using a jsp file that cles a Java function.
He makes it but gives the following error:
"2001-12-13 08:44:27 - Ctx( /PS2 ): IllegalStateException in: R( /PS2 + /save.jsp
+ null) OutputStream is already being used for this request"

In the Java API, IllegalStateException is a Runtime Excepttion, so i think the problem is in Java. However i don't understand.
I closed the outputstream and also flushed it.

Can you help me? I really don't know was is wrong!!!

Thanks
Claudia
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you explain how you are trying to write to the client disk from a JSP? Are you trying to send something back through the "out" variable? Why not show a little code?
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This isn't really an EJB issue so I am sending this to the JSP forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!