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]>

Reply via email to