Re: Reloading ActionServlet configuration
See also http://jakarta.apache.org/struts/faqs/newbie.html#reload 12/16/2002 2:38:52 PM, Ron Monson [EMAIL PROTECTED] wrote: Since the reload() method has been removed from ActionServlet effective 1.1b2 I am trying to find an alternative way of 'reloading' the configuration on-the-fly. Simply calling init() again or destroy () and then init() does not seem to work. Also, the destroy() method doesn't seem to be completed yet. Does anyone have any suggestions?? Thanks, Ron _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:struts-dev- [EMAIL PROTECTED] For additional commands, e-mail: mailto:struts-dev- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Reloading ActionServlet configuration
Since the reload() method has been removed from ActionServlet effective 1.1b2 I am trying to find an alternative way of 'reloading' the configuration on-the-fly. Simply calling init() again or destroy() and then init() does not seem to work. Also, the destroy() method doesn't seem to be completed yet. Does anyone have any suggestions?? Thanks, Ron _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Reloading ActionServlet configuration
On Mon, 16 Dec 2002, Ron Monson wrote: Date: Mon, 16 Dec 2002 14:38:52 -0500 From: Ron Monson [EMAIL PROTECTED] Reply-To: Struts Developers List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Reloading ActionServlet configuration Since the reload() method has been removed from ActionServlet effective 1.1b2 I am trying to find an alternative way of 'reloading' the configuration on-the-fly. Simply calling init() again or destroy() and then init() does not seem to work. Also, the destroy() method doesn't seem to be completed yet. Does anyone have any suggestions?? Calling init() and destroy() yourself on a servlet violates the servlet spec rules, and will definitely cause undefined behavior. Use the application reload facilities of your servlet container. Tomcat, for example, offers the manager webapp's reload command. Thanks, Ron Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]