Thanks!

-----Original Message-----
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] 
Sent: Monday, July 22, 2002 10:29 AM
To: Tomcat Users List
Subject: Re: Changes to File System



On Mon, 22 Jul 2002, Jacob Hookom wrote:

> Date: Mon, 22 Jul 2002 03:03:41 -0500
> From: Jacob Hookom <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Changes to File System
>
> How does tomcat handle monitoring of changes to the file system?
>
> IE, if the JSP is changed and requires re-compiling, or a class is
> modified
>

The general tool used is to call File.lastModified() on the
corresponding
file.  For JSP pages, this is done on every request.  For classes (in
WEB-INF/classes and WEB-INF/lib only) it is done in a background thread
that is started for webapps that have autoload support turned on.

> Best Regards,
> Jacob Hookom
> Comprehensive Computer Science
> University of Wisconsin, Eau Claire
>

Craig

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to