Thanks.
That works perfect.
---- Original Message ----
From: Vitaly Shorin <[EMAIL PROTECTED]>
Sent: 2000-11-24 15:35:57.0
To: JRun-Talk <[EMAIL PROTECTED]>
Subject: RE: Re: getOutputStream bug???
You should place the following code
response.reset();
...=response.getOutputStream();
And all will be OK.
The thing is that response.getWriter is already called in generated java
code, and after resetting it you may choose what to use either getWriter or
getOutputStream.
Regards,
Vitaly Shorin.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "JRun-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, November 25, 2000 1:08 AM
Subject: getOutputStream bug???
> I am calling response.getOutputStream() in my jsp page, and that is about
all i am calling and I get the following error.
>
> 500 Internal Server Error
> /secure/files/file_sender.jsp:
>
> null
> java.lang.IllegalStateException
> at
allaire.jrun.servlet.JRunResponse.getOutputStream(JRunResponse.java:294)
> at
jrun__secure__files__file_sender2ejsp1d._jspService(jrun__secure__files__fil
e_sender2ejsp1d.java:63)
> at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java, Compiled
Code)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
> at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code)
> at
allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java,
Compiled Code)
> at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java, Compiled Code)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
> at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code)
> at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a, Compiled Code)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
> at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java, Compiled
Code)
> at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java, Compiled Code)
> at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code)
> at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)
>
>
> Has anyone had this problem before or does anyone know how to get around
it?
>
>
> Travis Reeder
> Chief Software Architect
> www.ThinkVirtual.com
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Your ad could be here. Monies from ads go to support these lists and
provide more resources for the community.
http://www.fusionauthority.com/ads.cfm
>
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists