Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 46498 invoked by uid 500); 6 Apr 2001 13:08:46 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 46475 invoked from network); 6 Apr 2001 13:08:45 -0000 Received: from unknown (HELO intertec.condoronline.com) (@203.200.48.227) by h31.sny.collab.net with SMTP; 6 Apr 2001 13:08:45 -0000 Received: from icl16 (ICL [206.251.112.18]) by intertec.condoronline.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 228S1S2D; Fri, 6 Apr 2001 18:45:16 +0530 Message-ID: <006001c0bec0$aef1bbd0$1270fbce@icl16> From: "Lakshmeenrayana" To: Subject: OutputStream Already in USE ..!!!! Date: Fri, 6 Apr 2001 18:40:15 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0053_01C0BEC9.05944180" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0053_01C0BEC9.05944180 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_0053_01C0BEC9.05944180 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am using Tomcat and trying to write a = Gif file to=20 client browser window using JSP.
I use ACME - GifEncoder to convert the = picture to=20 GIF.
The Encoder needs OutputStream type = object as one=20 of the parameter in its constructor.
I am using ServletOutputStream = object for=20 this, which i got through response.getOutputStream().
 
But the tomcat gives Error as = "OutputStream already=20 been used."
 
But the GIF image is Displayed properly = in IE=20 5.0.
 
It gives ASCII charactes in = Netscape.
 
Why is this so.
 
Please help.
Thanks for the time.
 
Regards.
 
L G = Goundalkar
Intertec=20 Communications Pvt = Ltd
INDIA
------=_NextPart_000_0053_01C0BEC9.05944180--