Understand. The chunk stuff is what I am planning on using. Do you
know if Tomcat waits until all chunks are in before starting the Servlet
processing?
Bill Barker wrote:
> If you don't send a Content-Length, then you need to use 'Transfer-Encoding:
> chunked'. Otherwise Tomcat (or any other HTTP/1.1 server) has no way of
> knowing when the request body ends, and the next request begins.
>
> "Scott Carr" <scarr@(protected)
> news:45833AB7.6000907@(protected)...
>
>> Does a servlet require the use of a Content-Length for the Reader to be
>> populated?
>>
>> I trying to use Tomcat instead of writing my own Socket Server. I have a
>> set of lines that I am trying to parse, but I don't have any idea how much
>> is going to be sent up front.
>> It may be 1000Kb, or it may be several Megabytes worth of information, and
>> I want to read each line as they come in, and handle the request on a line
>> by line basis.
>>
>> Any ideas on this? ... Should I write my own socket server?
>>
>> Thanks
>>
>> --
>> Scott Carr
>> OpenOffice.org
>> Documentation Co-Lead
>> http://documentation.openoffice.org
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@(protected)
>> To unsubscribe, e-mail: users-unsubscribe@(protected)
>> For additional commands, e-mail: users-help@(protected)
>>
>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
--
Scott Carr
OpenOffice.org
Documentation Co-Lead
http://documentation.openoffice.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)