Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 76743 invoked from network); 27 Oct 2001 21:20:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 27 Oct 2001 21:20:46 -0000 Received: (qmail 25392 invoked by uid 97); 27 Oct 2001 21:20:48 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 25381 invoked from network); 27 Oct 2001 21:20:47 -0000 Message-ID: <005b01c15f2d$b96733c0$ce8402c7@ridgeview> From: "Micael Padraig Og mac Grene" To: "Tomcat Developers List" Subject: Re: Tomcat4, taglibs, and pageContext.include Date: Sat, 27 Oct 2001 14:24:09 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Would you please expand on the ramifications? Surely this does not mean that we won't be able to use tags? Does this mean that we won't be able to use code like: try { pageContext.include(content.toString()); } catch(Exception e) { throw new JspException(e.getMessage()); } In our tag classes? -----Original Message----- From: Craig R. McClanahan To: Tomcat Developers Mailing List Date: Saturday, October 27, 2001 1:56 PM Subject: Re: Tomcat4, taglibs, and pageContext.include > > >On Sat, 27 Oct 2001, Rickard �berg wrote: > >> Date: Sat, 27 Oct 2001 16:16:15 +0200 >> From: Rickard �berg >> Reply-To: Tomcat Developers Mailing List >> To: Tomcat Developers Mailing List >> Subject: Re: Tomcat4, taglibs, and pageContext.include >> >> Rickard �berg wrote: >> >> > Due to some recent subtle changes in Tomcat (Jasper and servlet API to >> > be precise) it is no longer possible to implement jsp:include tags. >> >> >> (clarification).. using pageContext.include. >> >> /Rickard >> > >The reason for this change is a statement in the Javadocs for >PageContext.include() that Tomcat 4 was not previously enforcing: > > The current JspWriter "out" for this JSP is flushed as a > side effect of this call, prior to processing the include. > >Ideally, that statement would have been removed from the Javadocs for JSP >1.2, but it wasn't ... and now we are stuck enforcing it. If you look at >the code that Jasper generates for , you will see that it >indeed no longer uses the PageContext.include() method in its >implementation. > >Craig > > > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: