I spent  a few hours trying it out yesterday. There is a Tiles ReloadAction
which I tried to set in the struts-config and tried to call it. But it
didn't help. Finally I went with the Tomcat manager ( app reload ). If
Tomcat recognizes class changes ( WEB-INF/classes ), maybe there is a way to
make it recognize struts-config.xml changes.


Thanks
 
-- pady
[EMAIL PROTECTED]
 

-----Original Message-----
From: Antony Paul [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 24, 2004 10:58 PM
To: Struts Users Mailing List
Subject: Re: Automatically detecting struts-config changes and reload app.

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" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

______________________________________________________________________
This e-mail has been scanned by the Heroix e-mail security system
______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to