tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lakshmeenrayana" <nara...@intertec1.com>
Subject OutputStream Already in USE ..!!!!
Date Fri, 06 Apr 2001 17:40:15 GMT
I am using Tomcat and trying to write a Gif file to client browser window using JSP.
I use ACME - GifEncoder to convert the picture to GIF.
The Encoder needs OutputStream type object as one of the parameter in its constructor.
I am using ServletOutputStream object for this, which i got through response.getOutputStream().

But the tomcat gives Error as "OutputStream already been used."

But the GIF image is Displayed properly in IE 5.0.

It gives ASCII charactes in Netscape.

Why is this so.

Please help.
Thanks for the time.

Regards.

L G Goundalkar
Intertec Communications Pvt Ltd
INDIA

Mime
View raw message