Re: Automatic recompilation

Scott Farquhar <[email protected]> Mon, 30 May 2005 11:47:50 +1000
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <[email protected]>
François,

On Sun, May 29, 2005 at 05:47:58PM -0500, François Gaudin wrote:
> I use sitemesh to add a menu to all pages.  The appropriate menu to be used for any given page is menu.htm in the directory of the page.  So if the URL is http://domain.com/testdir/test.html then test.html will be decorated with testdir/menu.htm.
> 
> This works fine until a webmaster wants to modify menu.htm.  The generated JSP only gets recompiled when test.html is modified.  The consequence is that any modification to a menu file requires remembering to make an arbitrary change to all the associated files.
> 
> I use tomcat.  Is there any way round this problem?

If I understand you correctly, you are saying that when you modify
menu.htm, something doesn't change?

I'm not sure which JSP you are talking about - as you have only mentioned
html files?

Cheers,
Scott 

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