W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1999

Re: servlet problem returning > 65536 bytes

From: Kevin Regan <kevin@Differential.COM>
Date: Thu, 12 Aug 1999 15:18:07 -0400 (EDT)
Message-Id: <199908121917.MAA15357@Differential.COM>
To: Benoit.Mahe@sophia.inria.fr (Benoit Mahe)
Cc: kevin@Differential.COM, www-jigsaw@w3.org


This seems to have solved the problem.

Thanks!
Kevin

> 
> Humm, it could be a limitation of ByteArrayOutputStream that is no more
> used in Jigsaw 2.0.3. Please try with 2.0.3
> 
> Regards,Benoit.
> 
> Kevin Regan wrote:
> 
> > I'm having a problem returning data greater than 65536 bytes in
> > my Jigsaw servlet.  If I'm doing a GET (doGet), the client will
> > see all the data up to the 65356'th byte and then:
> >
> > Servlet has thrown exception:java.lang.ArrayIndexOutOfBoundsExceptionConnection closed by foreign host.
> >
> > Please note that this exception is being thrown after doGet() returns
> > control to Jigsaw.
> >
> > When doing a POST, I get even more strange results.  The first 65536 bytes
> > are fine, but the next byte starts at the _begginging_ of the data, so
> > byte 65537 actual has the same value as byte 1, 65538 has the value
> > of byte 2, etc.
> >
> > I'm using Jigsaw 2.0.2.  Is this been fixed in 2.0.3?
> >
> > Thanks,
> > Kevin
> >
> > kevin@differential.com
> >
> > p.s.  When I do a non-Servlet GET of the same file, things seem to work fine.
> 
> --
> - Benoît Mahé -------------------------------------------------------
>                       World Wide Web Consortium   (W3C)
>                     Architecture domain - Jigsaw Engineer
> 
>                 http://www.w3.org/People/Mahe  - bmahe@w3.org
> ---------------------------------------------------------------------
> 
> 
> 
> 
Received on Thursday, 12 August 1999 18:14:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:33 GMT