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

Re: servlet problem returning > 65536 bytes

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Thu, 12 Aug 1999 09:06:42 +0200
Message-ID: <37B27281.1BF9F7C@sophia.inria.fr>
To: Kevin Regan <kevin@Differential.COM>
CC: www-jigsaw@w3.org
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 03:06:52 GMT

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