Hi,
I think you can try to use <load-on-startup> for your servlet.
HTH
John
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:SERVLET-INTEREST@(protected)
Edlund
Sent: Friday, August 15, 2003 2:56 PM
To: SERVLET-INTEREST@(protected)
Subject: When is ServletContextListener.contextDestroyed called
Hi!
Maby a stupied q, but I really want to make sure. I've looked at the
servlet2.3 spec
and I can't find anything about when this really get's called.
Is it so, that it happends only when you stop the web application? Or is it
up the the
ventor when this is called?
What I want to make sure of is that I want one object to live as long as the
war is
deployed, and only released when the war get's undeployed or the servlet
container
shuts down.
/Per
___________________________________________________________________________
To unsubscribe, send email to listserv@(protected)
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to listserv@(protected)
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html