From owner-freebsd-java@FreeBSD.ORG Fri Jul 16 21:54:06 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C93E16A4CF; Fri, 16 Jul 2004 21:54:06 +0000 (GMT) Received: from cliff.namodn.com (namodn.com [64.147.171.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 571F543D49; Fri, 16 Jul 2004 21:54:06 +0000 (GMT) (envelope-from robert@roberthelmer.com) Received: from robert by cliff.namodn.com with local (Exim 3.35 #1 (Debian)) id 1Bladg-00015w-00; Fri, 16 Jul 2004 14:53:08 -0700 Date: Fri, 16 Jul 2004 14:53:08 -0700 From: Robert Helmer To: Jason Dusek Message-ID: <20040716215308.GC30188@namodn.com> References: <40F7E746.7070902@uiowa.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40F7E746.7070902@uiowa.edu> User-Agent: Mutt/1.3.28i X-OS-Type: Debian GNU/Linux 3.0 cc: java@freebsd.org cc: questions@freebsd.org Subject: Re: Tomcat Goes Its Own Way X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 21:54:06 -0000 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?