Create a servlet that gets initialised on the context start up (you set that
up in web.xml),
Stick your code in the servlet's init() method
-----Original Message-----
From: Agarwal, Naresh [mailto:nagarwal@(protected)]
Sent: Tuesday, September 16, 2003 2:28 AM
To: tomcat-user@(protected)
Subject: performing init operations in webapp
Hi
I am developing an web application (essentially axis, the web service
toolkit), which will be deployed in Tomcat.
Now before any client make a request to this web application, I want to
perform some *init* operations.
How can I do this?
thanks,
Naresh