tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grogan <>
Subject When is init() called?
Date Thu, 11 May 2006 11:24:43 GMT
Hi all,
I'm new to the list. I was trying to find out exactly when Tomcat will 
call a servlets init() method.
Is it
    a) When tomcat is restarted or
    b) When I restart my web-app context from the Tomcat manager panel.
I ask because we run web-apps on a shared hosting server and don't have 
control over when Tomcat gets restarted, but would need to re-init() our 
servlets from time to time. We are running on Tomcat 5.5.7

Martin Grogan
Keizen Software

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message