• Post Reply Bookmark Topic Watch Topic
  • New Topic

getting error when trying again to access/generate the reports in a JSP page

 
Praveen Tyagi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..1.2.0.2)].server.http.EvermindHttpServletResponse.getWriter
(EvermindHttpServletResponse.java:1001)
.............

thanks in advance..
 
Campbell Ritchie
Marshal
Posts: 52516
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know. Have you read about IllegalStateException?

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

and welcome to JavaRanch.
 
Steve Luke
Bartender
Posts: 4181
22
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..1.2.0.2)].server.http.EvermindHttpServletResponse.getWriter
(EvermindHttpServletResponse.java:1001)
.............

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?
 
Amit Ghorpade
Bartender
Posts: 2856
10
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!