Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 70902 invoked from network); 5 Mar 2008 23:04:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2008 23:04:08 -0000 Received: (qmail 73092 invoked by uid 500); 5 Mar 2008 23:04:02 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 73036 invoked by uid 500); 5 Mar 2008 23:04:02 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 73022 invoked by uid 99); 5 Mar 2008 23:04:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2008 15:04:02 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [12.11.148.84] (HELO irp2.ptc.com) (12.11.148.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2008 23:03:24 +0000 X-IronPort-AV: E=Sophos;i="4.25,453,1199682000"; d="scan'208";a="10729989" Received: from hq-ex3fe3.ptcnet.ptc.com ([132.253.201.67]) by irp2.ptc.com with ESMTP; 05 Mar 2008 18:03:34 -0500 Received: from [132.253.9.179] ([132.253.9.179]) by hq-ex3fe3.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 5 Mar 2008 18:03:33 -0500 Message-ID: <47CF2703.8060305@ptc.com> Date: Wed, 05 Mar 2008 17:04:35 -0600 From: Jess Holle User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Fix #43236 References: <7DD230BACBF7C14BB825154D431D2ED004C78692@posthausx.virtela.cc> <47CF243A.8090504@ptc.com> In-Reply-To: <47CF243A.8090504@ptc.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Mar 2008 23:03:33.0868 (UTC) FILETIME=[2305C2C0:01C87F15] X-Virus-Checked: Checked by ClamAV on apache.org P.S. Thanks for the reply. No one had responded yet and I despite much googling I really couldn't seem to find any discussion of the nuances of this area of the servlet spec. Jess Holle wrote: > Leech, Jonathan wrote: >> I read the spec the same way as you do. I have written filters that >> are even more permissive than this fix, and >> I have also written filters that strictly adhere to the spec. >> Strictly adhering to the spec is definitely the way to go. >> If you want/need your application to violate the spec, you can write a >> filter that allows it. >> >> I wasn't aware that you can call getOutputStream() in a JSP, when did >> that change? >> > I'm not 100% certain this works. I am rather certain you can have a > JSP forward to something else that calls getOutputStream() -- > effectively on the same response. I suspect the same sort of thing > would work in the page itself. > > Of course you have to be sure not to fill (and to reset) your > JspWriter's buffer in any case. > > -- > Jess Holle --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org