tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Barclay <>
Subject Re: does getReader() or getInputStream() work?
Date Wed, 11 Oct 2000 18:22:33 GMT
Betty Chang wrote:
> ...
>  My servlet is hanging after reading all
> the bytes, I think.  It never returns with a read byte count of -1.    I've
> tried reading lines, and the same thing happens -- it gets to the end and
> hangs.

What agent is doing the posting?  

Is it possible that the agent is setting the Content-Length header wrong,
or not sending the correct number of bytes?  

Otherwise, I don't know whether to suspect problem in Tomcat or in your

Do you have any idea what the Transfer-Encoding is?  Does problem appear
with different browsers (assuming that's the kind of client involved)?

Daniel Barclay
Digital Focus

View raw message