Re: servlet problem returning > 65536 bytes

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 UTC