• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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: 79177
377
  • 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
 
Well THAT's new! Comfort me, reliable tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic