Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 78264 invoked from network); 1 Feb 2002 19:47:53 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Feb 2002 19:47:53 -0000 Received: (qmail 22563 invoked by uid 97); 1 Feb 2002 19:47:21 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 22547 invoked by uid 97); 1 Feb 2002 19:47:20 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 22536 invoked from network); 1 Feb 2002 19:47:20 -0000 Date: Fri, 1 Feb 2002 14:46:04 -0500 (EST) From: Clay Mitchell To: Tomcat Users List Subject: RE: triggering JSP page recompilation In-Reply-To: <72F7D4A84579D511A4300090273F6EFC59A874@ERLANGER> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N yeah, that's what i was saying :) On Fri, 1 Feb 2002, Wagoner, Mark wrote: > You really want to use the dynamic directive if the file being included is > another JSP file. Otherwise you will get the source of the included JSP in > the output, not the output of the included JSP. > > That came out pretty clear. :-) > > -----Original Message----- > From: Clay Mitchell [mailto:clay@pfd.net] > Sent: Friday, February 01, 2002 2:38 PM > To: Tomcat Users List > Subject: Re: triggering JSP page recompilation > > > use then. what you're doing now just statically includes > the contents of what you include in the class file when it recompiles. the > jsp:include should do this dynamically. > > -CLay > > On Fri, 1 Feb 2002, Guillermo Payet wrote: > > > > You don't have to touch all the files. Just the JSP that contains the > > > include directive. Tomcat uses the date of the JSP file to determine if > it > > > needs to be recompiled. If it does, then it will re-read any included > > > files. > > > > Therefore... I have to touch all files, since all JSP files include > > the file that was modified. As I mentioned before, GNUJSP keeps a > > record of what files include what, and if told to, recompiles all > > including files when an included file changes. I wonder if there > > is a way to make Tomcat act this way. We have 4 people working on > > a project that has about 50 JSP pages, and they all include > > header, footer, menu, and other JSP included files. Having one > > person do a "touch *.jsp" whenever he tweaks "lib/header.jsp" is > > a bit disruptive. > > > > --G > > > > > > -- > > To unsubscribe: > > For additional commands: > > Troubles with the list: > > > > > > > -- > To unsubscribe: > For additional commands: > Troubles with the list: > > -- > To unsubscribe: > For additional commands: > Troubles with the list: > > -- To unsubscribe: For additional commands: Troubles with the list: