----- Original Message ----- 
From: "Gary Lawrence Murphy" <[EMAIL PROTECTED]>
To: "Tomcat Users" <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 1:55 AM
Subject: Can a servlet exit?


> 
> can a servlet remove itself?  I have a situation where a servlet's
> configuration file may require on-the-fly edits, but the site runs
> dozens of servlets and we don't want to restart tomcat just to
> restart one webapp.  
> 
> Long term, we plan to re-write the servlet to include a "reload"
> function (the proper way to do this), but for now the easiest path
> would seem to be to have the servlet purge itself from the servlet
> container such that it will be completely reloaded on the next
> request.  Is this possible?
>[...]


I think one of the ways is use "Manager",   good doc for you :-)

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html 


Bo
Feb072002



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to