Regarding loading a class on startup

2001-06-19 Thread Pankaj Chhaparwal
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

Re: Regarding loading a class on startup

2001-06-19 Thread Bo Xu
Pankaj Chhaparwal wrote: 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 Hi :-) - in Servlet spec2.3, there is a new

Re: Regarding loading a class on startup

2001-06-19 Thread Boris Niyazov
If your class is a servlet you may want to use load-on-startup 1 /load-on-startup in your web.xml hth * * Boris NiyazovPh: 212-854-4094 Fax: 212-854-1749 * * Systems Manager