Automatic recompilation

François Gaudin <[email protected]> Tue, 21 Jun 2005 18:29:20 CDT
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <15931240.1119396667535.JavaMail.os-j2ee@opensymphony01.contegix.com>
I did the test without sitemesh in a trivial JSP
If I include a JSP file or HTML file in main.jsp using:
<jsp:include page="test.jsp" flush="true"/>
<jsp:include page="test.htm" flush="true"/>

then any change in either test.jsp or test.htm results in main.jsp being recompiled regardless of whether main.jsp is touched.

This is not the case when I use sitemesh.  When I modify the pages included by my decorator then target pages are not recompiled until i change the date of modification for the file to be decorated.

To be more precise, I have a decorator that includes a menu file.  When I change the menu file then the changes are not taken into account until I modify each of the target decorated pages.

Is there a solution to this problem?

Cheers,

François

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=2736&messageID=9054#9054


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]