• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Marshal
Posts: 73974
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 4179
22
IntelliJ IDE Python Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic