Assuming a client would be requesting data via your servlet, I don't believe
there is a limit. Your sevlet calls PrintWriter.write(..) and that
implements buffering that would flush onces the buffer is full.

On 12/15/06, Scott Carr <[EMAIL PROTECTED]> wrote:

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@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
"talk trash and carry a small stick."
PAUL KRUGMAN (NYT)

Reply via email to