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

servlet problem returning > 65536 bytes

From: Kevin Regan <kevin@Differential.COM>
Date: Wed, 11 Aug 1999 14:23:57 -0400 (EDT)
Message-Id: <199908111823.LAA09070@Differential.COM>
To: www-jigsaw@w3.org
Cc: kevin@Differential.COM
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.
Received on Wednesday, 11 August 1999 15:02:30 GMT

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