If your class is a servlet you may want to use
<load-on-startup>
1
</load-on-startup>
in your web.xml
hth
*********************************************************************
* Boris Niyazov Ph: 212-854-4094 Fax: 212-854-1749 *
* Systems Manager Email: [EMAIL PROTECTED] *
* Columbia Law School URL: http://www.law.columbia.edu *
*********************************************************************
>
>Hi,
>I want to load a class in the memory when the tomcat server starts.
>Basically this class has some static data which I want the application to
>use. I want to keep the data at application level.
>
>Regards,
>Pankaj
>
- Boris