Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 21054 invoked from network); 24 Jan 2008 19:15:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jan 2008 19:15:05 -0000 Received: (qmail 29292 invoked by uid 500); 24 Jan 2008 19:14:44 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 29271 invoked by uid 500); 24 Jan 2008 19:14:44 -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 29259 invoked by uid 99); 24 Jan 2008 19:14:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2008 11:14:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [74.54.141.23] (HELO mail.writingshow.com) (74.54.141.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2008 19:14:30 +0000 Received: from cpe-75-82-230-88.socal.res.rr.com ([75.82.230.88] helo=[192.168.1.106]) by mail.writingshow.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.67) (envelope-from ) id 1JI7XR-0001x8-21 for users@tomcat.apache.org; Thu, 24 Jan 2008 13:15:01 -0600 Message-ID: <4798E38D.8050101@compulsivecreative.com> Date: Thu, 24 Jan 2008 11:14:21 -0800 From: Alan Chaney Reply-To: alan@compulsivecreative.com Organization: Paula Hollywood, Inc. User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: users@tomcat.apache.org Subject: Advanced IO documentation in Tomcat 6 - Asynchronous writes Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org To help save someone else a bit of perplexity and confusion there appears to be a couple of slight errors in the Asynchronous writes section of the tomcat-6-0-doc/aio.html page. > Any servlet can instruct Tomcat to perform a sendfile call by setting the appropriate response attributes. When using sendfile... > * org.apache.tomcat.sendfile.filename: Canonical filename of the file which will be sent as a String > * org.apache.tomcat.sendfile.start: Start offset as a Long > * org.apache.tomcat.sendfile.start: End offset as a Long 1. You actually set REQUEST attributes not response attributes (as of course there is no such thing as a response attribute) 2. The 3rd attribute is of course org.apache.tomcat.sendfile.end However the actual code works just fine and thats probably the most important bit! Regards Alan --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org