Howdy,
Implement a javax.servlet.ServletContextListener, and call that init
method in the listener's contextInitialized() event.  Don't forget to
put the listener in your webapp's web.xml file.

>  public static void init(){
>    Thread t = new Thread( new ClearUserHashMapClient() );
>    t.start();
>  }//init
>
>How can I configure my webapp to call this init() method when I deploy
my
>war file on Tomcat.

Yoav Shapira
Millennium ChemInformatics

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

Reply via email to