Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Servlet with POST Request

Hassan Schroeder

2006-12-15

Replies:

On 12/15/06, Scott Carr <scarr@(protected):
> Does a servlet require the use of a Content-Length for the Reader to be
> populated?

A pretty cursory test seems to indicate not, but I could just be lucky :-)

> ...and I want to read each line as they come in, and handle the request on
> a line by line basis.

Have you tried this yet? request.getReader() would seem to cover
your situation, assuming this isn't binary data.

--
Hassan Schroeder ------------------------ hassan.schroeder@(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)

©2008 junlu.com - Jax Systems, LLC, U.S.A.