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..22.214.171.124)].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.