Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 65792 invoked from network); 3 Apr 2006 13:35:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Apr 2006 13:35:03 -0000 Received: (qmail 60920 invoked by uid 500); 3 Apr 2006 13:34:49 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 60902 invoked by uid 500); 3 Apr 2006 13:34:49 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 60891 invoked by uid 99); 3 Apr 2006 13:34:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 06:34:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of remy.maucherat@gmail.com designates 64.233.184.224 as permitted sender) Received: from [64.233.184.224] (HELO wproxy.gmail.com) (64.233.184.224) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 06:34:48 -0700 Received: by wproxy.gmail.com with SMTP id 37so1214097wra for ; Mon, 03 Apr 2006 06:34:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Lp8YSTy5eY0bvwObEoqQ5vEeTJ+l9ajpNwbysnFy2fB3lfUA3AijvV9GBysmNAAj526bmf9J0ruuTSzA6OkfloPBThQFKWJCA/6GexTHeDXFDFdznLqWOCX5/KS094j6pOJlSpig2FY/867q9VARzJ8JOm+UF9mbPvUse57krk4= Received: by 10.54.97.10 with SMTP id u10mr2385074wrb; Mon, 03 Apr 2006 06:34:27 -0700 (PDT) Received: by 10.54.91.8 with HTTP; Mon, 3 Apr 2006 06:34:27 -0700 (PDT) Message-ID: <6d959d480604030634o68a4d693gab51c9896d4c7f2d@mail.gmail.com> Date: Mon, 3 Apr 2006 15:34:27 +0200 From: "Remy Maucherat" To: "Tomcat Users List" Subject: Re: Rephrased: Maximum number of simultaneous HTTP connections In-Reply-To: <4431231B.7010805@weboperations.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4430F86B.2080503@weboperations.com> <44314702.60501@gmail.com> <6d959d480604030403w3ecf9720xd7fb469ff1d8d11c@mail.gmail.com> <443104D6.9070206@weboperations.com> <6d959d480604030441o6597f85cn556dfb6ab1bea086@mail.gmail.com> <44311B5D.2090503@weboperations.com> <6d959d480604030621u618673eawc99c73ec11000e11@mail.gmail.com> <4431231B.7010805@weboperations.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 > returned. > > 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. -- xxxxxxxxxxxxxxxxxxxxxxxxx R=E9my Maucherat Developer & Consultant JBoss Inc xxxxxxxxxxxxxxxxxxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org