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:[EMAIL PROTECTED]] > Sent: Friday, February 01, 2002 2:38 PM > To: Tomcat Users List > Subject: Re: triggering JSP page recompilation > > > use <jsp:include> 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: <mailto:[EMAIL PROTECTED]> > > For additional commands: <mailto:[EMAIL PROTECTED]> > > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
