Re: Automatically detecting struts-config changes and reload app.

2004-03-24 Thread Geeta Ramani
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 str

RE: Automatically detecting struts-config changes and reload app.

2004-03-24 Thread Pady Srinivasan
List 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

Re: Automatically detecting struts-config changes and reload app.

2004-03-24 Thread Antony Paul
> 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 > mapping

RE: Automatically detecting struts-config changes and reload app.

2004-03-25 Thread Pady Srinivasan
ay 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 reloa

RE: Automatically detecting struts-config changes and reload app.

2004-03-25 Thread Pady Srinivasan
I used your code ( Thanks ) and I finally got it to work with a Filter. We have a login filter in our app. So I added a method which runs only in development mode. * Set the DEVELOPMENT_MODE system property during development. * Add the WEB-INF directory to the classpath. ( does Tomcat include t

RE: Automatically detecting struts-config changes and reload app.

2004-03-25 Thread Pady Srinivasan
The parseModuleConfigFile method in ActionServlet ( called by init() ) seems to get the resource and reparse the information. Unless there is a screw up somewhere there, I don't know why the re-read should fail. I will see if that can be reproduced. Thanks -- pady [EMAIL PROTECTED] -Or

RE: Automatically detecting struts-config changes and reload app.

2004-03-25 Thread Pady Srinivasan
} catch (Exception ex) { ex.printStackTrace(); } } } Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 9:37 AM To: Struts Users Mailing List Subject: RE: Automatically detecting st

RE: Automatically detecting struts-config changes and reload app.

2004-03-25 Thread Kris Schneider
odified = f.lastModified(); > } > catch (Exception ex) { > ex.printStackTrace(); > } > } > } > > Thanks > > -- pady > [EMAIL PROTECTED] > > > -Original Message- > From: Pady Srinivasan [mailto:[EMAIL