Perhaps you've already got the PrintWriter with getWriter() method.

Luiz Ricardo
----- Original Message -----
From: "Rum Pel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 22, 2002 4:50 AM
Subject: urgent: The stream has been closed


> When I do the following,
> ServletOutputStream out = resp.getOutputStream();
>      out.println(html);
> out.flush();
> I am getting the following exception at out.flush():
>
> java.io.IOException: The stream has been closed
>         at
> org.apache.catalina.connector.ResponseStream.flush(ResponseStream.jav
> a:237)
>
>
> It seems the stream has already been closed earlier, but I have
> not written any out.close() statements anywhere. Does anybody have
> a clue why this error appears?
>
> Thanks in advance,
> --rp
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to