Tim,
I had a similar problem with WebSphere 2.0 on NT 4.0 (SP4) with IIS and
large HTML pages generated from a servlet. The pages with large tables in
them were getting garbled. The problem went away only after I went into the
admin panel and changed the Java Engine settings to run "Out of Process" and
with transport type "remote_java".

John Zerbe
> -----Original Message-----
> From: Tim Fleming [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 03, 1999 3:52 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Servlet Image
>
> Setting Content-Length didn't help (recommended in another message) nor
> did BufferedOutputStream.  Images over about 16k have the problem.
>
> I'm using the ACME GifEncoded (same as in Hunter's example).  If I edit
> that code and put an "out.flush()" after its block output (254 bytes) then
> I get more of the image but it garbles.
>
> I'm beginning to think this is a WebSphere issue.  Anyone have any
> thoughts?
>
> -----Original Message-----
> From:   Aaron Porter [SMTP:[EMAIL PROTECTED]]
> Sent:   Wednesday, March 03, 1999 11:38 AM
> To:     [EMAIL PROTECTED]
> Subject:        Re: Servlet Image
>
> Try writing small chunks (~4K) instead of sending the whole thing at one
> time. There is a buffer limit around 4K with socket programming. This
> isn't
> Java specific. I had the same problem in C++. Try using a
> BufferedOutputStream with a buffer size of 4K.
>
> Aaron
>
> > -----Original Message-----
> > From: Tim Fleming [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, March 03, 1999 11:24 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Servlet Image
> >
> >
> > The gif is from a file.  I've recently tried streaming it to
> > a file after streaming to ServletOutputStream.  The gif in
> > the file is fine so the loading and manipulating I do must be
> > ok.  I'm thinking that the ServletOutputStream is cutting it
> > off after some fixed number of bytes.
> >
> > -----Original Message-----
> > From:   Aaron Porter [SMTP:[EMAIL PROTECTED]]
> > Sent:   Wednesday, March 03, 1999 11:03 AM
> > To:     [EMAIL PROTECTED]
> > Subject:        Re: Servlet Image
> >
> > Is the GIF dynamically created or is it from a file?
> >
>
> __________________________________________________________________________
> _
> 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

___________________________________________________________________________
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

Reply via email to