In my web.xml file I have something like that : <servlet> <servlet-name>myservlet</servlet-name> <servlet-class>MyServletClass</servlet-class> <init-param> <param-name>mailHost</param-name> <param-value>mail.host.com</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet>
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