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:26:29 GMT

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: RSEQUEIRA@TRANSENTRIC.COM [mailto:RSEQUEIRA@TRANSENTRIC.COM]
> Sent: Friday, February 01, 2002 1:14 PM
> To: Tomcat Users List
> Subject: Re: triggering JSP page recompilation
>
>
>
>
>
>
>
>
> Guillermo Payet <gpayet@oceangroup.com> on 02/01/2002 11:52:11 AM
>
> Please respond to "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>
> To:   tomcat-user@jakarta.apache.org
> 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: gpayet@oceangroup.com
> web: http://www.oceangroup.com
>
> --
> 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>
>
> --
> 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