Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2004 14:53:08 -0700
From:      Robert Helmer <robert@roberthelmer.com>
To:        Jason Dusek <jason-dusek@uiowa.edu>
Cc:        questions@freebsd.org
Subject:   Re: Tomcat Goes Its Own Way
Message-ID:  <20040716215308.GC30188@namodn.com>
In-Reply-To: <40F7E746.7070902@uiowa.edu>
References:  <40F7E746.7070902@uiowa.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 16, 2004 at 09:33:42AM -0500, Jason Dusek wrote:
> Hi,
> 
> I am having a weird problem with Tomcat:
> 
> If I go into the jsp examples and modify the .jspx files, my changes have 
> no effect on how they are executed! I can even delete them, it doesn't 
> matter - they run just as before. But deleting or modifying .html files in 
> the same directory has the expected effected. I have tried restarting 
> Tomcat, and I 've even rebooted my machine - it doesn't seem to make any 
> difference.
> 
> How is this happening? Does Tomcat keep redundant copies of the .jspx files 
> somewhere?

Tomcat keeps it's own copies in $TOMCAT_HOME/work/ of the .java
and .class files generated from the JSPs (JSPs are really converted
to servlets at runtime).

However if you update the JSP Tomcat is *supposed* to recompile the JSP
next time you hit it.. I believe it does this by checking the mtime
of the file, did you have the date set incorrectly at any point? Could
the initial modification time of the JSP have been in the future?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040716215308.GC30188>