Hi,

How about trying as startup servlet using <load-on-servlet> in web.xml ?

HTH
John

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED] Behalf Of Eric
Noriega
Sent: Thursday, July 03, 2003 5:16 AM
To: [EMAIL PROTECTED]
Subject: Re: loaded servlet


    You can't, in a container independent way.  The spec. states that a
class can be loaded and unloaded as the container deems necessary.

william wrote:

> so, the servlet is loaded by the servlet container when application start,
>but when the servlet container determines that a servlet should be removed
>from service, it calls the destroy method of the Servlet interface to allow
>the servlet to release any resources it is using and save any persistent
>state.
>
>How can I keep this servlet loaded ?
>
>
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
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 [EMAIL PROTECTED] and include in the body
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

Reply via email to