You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by vineesh kumar <vi...@gmail.com> on 2005/12/09 06:37:28 UTC

How to load a class when tomcat starts

Hi all,

  I need to load a java class when tomcat starts, which will
initializes some configuration files and so i can use the fields in
the class throught the environment.How can i do this.?
Actually I am working on a distributed application, so the
configuration files may change frequently but once the system is
initialized it will not change until shut down.
regards
 vineesh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org