You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Antony Paul <an...@hotmail.com> on 2004/03/24 14:20:16 UTC
Automatically detecting struts-config changes and reload app.
Is it possible to automatically detect changes in struts-config.xml and
reload the application ?. I know that Log4J(or Tomcat) detects changes to
log4j.properties and reload the application.
Antony Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Automatically detecting struts-config changes and reload app.
Posted by Antony Paul <an...@hotmail.com>.
I could not understand what is admin mappings. I am using Struts 1.1
downloaded few months ago. There is nothing like admin in struts-config.xml
included with struts-blank.war. If you please explain it it will be usefule.
I presume that it is similar to Tomcat manager application and I have to
reload it every time by pointing the browser to it. I want it to
automatically detect the change and reload the context . What are other
developers doing to reload the context on struts-config change ?.
Antony Paul
----- Original Message -----
From: "Geeta Ramani" <ge...@cmpco.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, March 24, 2004 7:01 PM
Subject: Re: Automatically detecting struts-config changes and reload app.
> Hey Antony:
>
> Check out the struts admin functionality: Make sure you have the admin
> mappings in your struts-config.xml, then point your browser to
> "/yourContext/admin/reload.do" and you'll see the magic..:)
>
> Regards,
> Geeta
>
> Antony Paul wrote:
>
> > Is it possible to automatically detect changes in struts-config.xml and
> > reload the application ?. I know that Log4J(or Tomcat) detects changes
to
> > log4j.properties and reload the application.
> >
> > Antony Paul
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Automatically detecting struts-config changes and reload app.
Posted by Geeta Ramani <ge...@cmpco.com>.
Hey Antony:
Check out the struts admin functionality: Make sure you have the admin
mappings in your struts-config.xml, then point your browser to
"/yourContext/admin/reload.do" and you'll see the magic..:)
Regards,
Geeta
Antony Paul wrote:
> Is it possible to automatically detect changes in struts-config.xml and
> reload the application ?. I know that Log4J(or Tomcat) detects changes to
> log4j.properties and reload the application.
>
> Antony Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org