I tried doing flush() but the result is the same.
-----Original Message-----
From: David Wall [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, March 03, 1999 10:04 AM
To: [EMAIL PROTECTED]
Subject: Re: Servlet Image
>I'm sending an image from a servlet like the example in Jason Hunter's
book. The image is a 140k gif. Only about the top 10% shows at the client.
If I change the server's color depth (NT server running IIS and IBM
WebSphere) from 256 colors to 32k I can get more of the image but the color
changes to shades of blue. Any ideas? Thanks.
Make sure you do a flush on the output stream. It seems that on my box,
doing a close() on the stream does not guarantee the flush, which is not
typical of most streams that I've used on Unix...
David
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html