Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 13962 invoked from network); 5 Jun 2008 20:50:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2008 20:50:46 -0000 Received: (qmail 80066 invoked by uid 500); 5 Jun 2008 20:50:37 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 80031 invoked by uid 500); 5 Jun 2008 20:50:37 -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 79952 invoked by uid 99); 5 Jun 2008 20:50:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2008 13:50:36 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [68.99.120.49] (HELO dukecmmtar02.coxmail.com) (68.99.120.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2008 20:49:41 +0000 Received: from [127.0.0.1] (really [68.105.254.142]) by dukecmmtar02.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20080605205002.HURQ13126.dukecmmtar02.coxmail.com@[127.0.0.1]> for ; Thu, 5 Jun 2008 16:50:02 -0400 Message-ID: <4848517B.3000002@seatadvisor.com> Date: Thu, 05 Jun 2008 13:50:03 -0700 From: Bill Davidson User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: versus <% include %> References: <913936E7-51AC-49A5-B4E5-A15663E90B59@tchijov.com> <48484FB2.1080006@seatadvisor.com> In-Reply-To: <48484FB2.1080006@seatadvisor.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Bill Davidson wrote: > <%@include ... %> happens at compile time. That is, only the first > time the JSP page is loaded. The included data ends up in the compiled > servlet. It has been my experience that you can have other JSP > directives > in the included file and they will be properly interpreted. I forgot to add, if the included file changes, then the JSP will not reflect that change unless you force it to be recompiled. > happens at run time, every time the JSP page is > loaded. The included data is not compiled into the servlet, rather > the generated servlet has code to re-read the included file every time > it runs. It has been my experience that JSP tags in the included file > will not be interpreted so you're pretty much limited to HTML (or > whatever > your final output format to the user agent is) in the included file. In this case, if the included file changes, the JSP should reflect the changes on the next page load, without a recompile. --------------------------------------------------------------------- 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