tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <>
Subject RE: newby user: processing when the server launches
Date Fri, 12 Oct 2007 12:46:49 GMT
> From: HODAC, Olivier [] 
> In my application, I have to perform stuff when the server 
> starts. Where do I have to put this code?

Define and use a servlet context listener.  This will run as your webapp
starts up.

		- Peter

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message