tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clay Mitchell <c...@pfd.net>
Subject Re: triggering JSP page recompilation
Date Fri, 01 Feb 2002 19:37:36 GMT
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:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message