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
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
>
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
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
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
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
}
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
odified = f.lastModified();
> }
> catch (Exception ex) {
> ex.printStackTrace();
> }
> }
> }
>
> Thanks
>
> -- pady
> [EMAIL PROTECTED]
>
>
> -Original Message-
> From: Pady Srinivasan [mailto:[EMAIL
8 matches
Mail list logo