This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See IllegalStateException?

I am not sure this is an Oracle-related topic, so I think I ought to move it . . .

and welcome to JavaRanch.
Posts: 4181
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Praveen Tyagi:
Hi i am getting following error when trying to genrate a report in a JSP using oracle 10g application server. Please help me.

java.lang.IllegalStateException: OutputStream already retrived
at com.evermind[Oracle Application Server Containers for J2EE 10g (10..].server.http.EvermindHttpServletResponse.getWriter

thanks in advance..

It looks like you are trying to write to the response in a servlet (or JSP) through the response's Writer. The problem is the servlet had previously retrieved the OutputStream and sent data across it. Once that happens you can no longer get the Writer.

What are you trying to do?
Posts: 2856
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like you are trying to manipulate the auto generated JSP report page.
If so then you need to know the default implementation first.

Hope this helps
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!