tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tp>
Subject Re: Rephrased: Maximum number of simultaneous HTTP connections
Date Mon, 03 Apr 2006 13:56:21 GMT
Remy Maucherat schrieb:
> On 4/3/06, Tp <> wrote:
>>Remy Maucherat schrieb:
>>But you said that the connection will not close, when the doGet() or
>>doPost() method returns, which of course make a lot of sense. Otherwise
>>Persistent connections would not be possible at all.
>>So if that's true, then I should be able to write to the OutputStream of
>>the HttpResponse at a time, when the doGet() and doPost() method has
>>Why would it not work?
> The connection would not close, but all the objects provided by the
> Servlet API are only accessible during the execution of the service
> method of the Servlet. For example, in Tomcat's case, these are
> recycled.

Also the reference to the OutputStream itself? I mean it should stay 
open until the connection closes. Are you sure?

> --
> xxxxxxxxxxxxxxxxxxxxxxxxx
> Rémy Maucherat
> Developer & Consultant
> JBoss Inc
> xxxxxxxxxxxxxxxxxxxxxxxxx
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message