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 wrote the following on 01/23/2004 on the mailing list, but nobody cared...
I wrote a servlet to trigger off a reload of the struts-config.xml.
The servlet is:
protected void doGet(..) {
ActionServlet as =
If I don't remove the attribute following requests will not work (because of
the code
in ActionServlet.getRequestProcessor)
Is this a bug?
That sounds like a bug to me. I'm thinking that destroy methods
should remove from the application context anything the instance put
into the context
: Automatically detecting struts-config changes and reload app.
I wrote the following on 01/23/2004 on the mailing list, but nobody cared...
I wrote a servlet to trigger off a reload of the struts-config.xml.
The servlet is:
protected void doGet(..) {
ActionServlet
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.
just one thing: I'm not sure, but it seems that sometimes Tomcat does not
re-read the
file. It's like it keeps it cached
]
-Original Message-
From: Leonardo Francalanci [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 8:53 AM
To: Struts Users Mailing List
Subject: R: Automatically detecting struts-config changes and reload app.
I used your code ( Thanks ) and I finally got it to work with a Filter. We
have
) {
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 struts-config changes and reload app
-- 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 struts-config changes and reload app.
I used your code ( Thanks ) and I
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:
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
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
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
12 matches
Mail list logo