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]>

Reply via email to