Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: performing init operations in webapp

Hans Liebenberg

2003-09-16

Replies:

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
©2008 junlu.com - Jax Systems, LLC, U.S.A.