You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by suhas <su...@techmas.hcltech.com> on 2000/07/11 19:59:19 UTC

Re: How to reload struts-config?

Action Base class has already have reference to ActionServlet  (  by -
servlet )

So have a button in the jsp as u said . And in your Action class call
servlet.reload( ) . This reload () method is defined in the ActionServlet
class as public method which calls initApplication ( ) which  loads the
applicationResources


Suhas

----- Original Message -----
From: Tillmann Schulz <ti...@web.de>
To: <st...@jakarta.apache.org>
Sent: Wednesday, July 11, 2001 2:16 PM
Subject: How to reload struts-config?


> Hi there,
>
> I am looking for a solution to reload struts config values from
ApplicationResources.properties and struts-config.xml without shuting down
the webserver. Is there a way to do this while the web application is
running?
>
> I would like to have a JSP-Page with a button "Reload Struts" on it ;.)
>
> Thank you in advance,
>
> Tillmann
>
> ---
> Tillmann Schulz
>
____________________________________________________________________________
__
> Fast alle Fluege koennen Ihnen egal sein. Einer nicht: Ihrer!
> Flug.de hat ihn: http://flug.de/sb/?PP=0-5-100-105-6