as far as I can tell from reading this:
http://developer.java.sun.com/developer/qow/archive/96/ that file won't be recompiled into the file unless the file that <%@ include() %>'s it is changed. what i believe that is saying is that when the calling file is compiled, the contents of the include file are basically just copies the contents of that included file into the contents of the calling file and then compiles. if you use <jsp:include> it will parse the included file every time. understand what i'm saying? -Clay On Fri, 1 Feb 2002, Brian Adams wrote: > I'm sorry, come again? I don't think you sent anything or I can't see it... > B > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 01, 2002 1:14 PM > To: Tomcat Users List > Subject: Re: triggering JSP page recompilation > > > > > > > > > Guillermo Payet <[EMAIL PROTECTED]> on 02/01/2002 11:52:11 AM > > Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > cc: > > Subject: triggering JSP page recompilation > > > Hi, > > I recently installed Tomcat 4.0.1, (We used JServ + GNUJSP before) > and all works well, except for an anoying little problem that I > can't figure out: > > When someone modifies a file that's included from a JSP page with: > <%@ include file="somefile"%>, this modification does not trigger > the recompilation of the including file. > > If I not mistaken, with <%@ include file=...%>, the file is included during > compilation time. Tomcat will auto-reload the including file only if it has > been changed. I guess you could use jsp:include instead. The JSP engine > will include this file whenever the including jsp is called. > > > There must be a configuration switch to turn this on. > > Any clues? > > --G > > Hope this helps. > Thanks. > RS > > > -- > Guillermo Payet > O C E A N G R O U P > email: [EMAIL PROTECTED] > web: http://www.oceangroup.com > > -- > 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]>
