AFAIK you can't reload the struts-config.xml without restarting the
container (someone correct me if I'm wrong about this).  Tiles does allow
you to reload the config using a Tiles action called
ReloadDefinitionsAction. There is also another tiles action called
ViewDefinitionsAction which displays the current Tiles definitions (but not
very pretty). I generally add a struts action link for the Tiles reload in a
common header include during development.

HTH,

Shane

-----Original Message-----
From: Julio Barros [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 11:36 AM
To: Struts Users Mailing List
Subject: How do you reinitialize struts and tiles


Hi,

Is it possible to reinitialize struts and tiles and force them to 
reload their configuration files without stopping and starting the 
servlet container?  I have an action that calls "getServlet().init()" 
but that does not seem to work?  What am I missing?

Thanks.

Julio



---------------------------------------------------------------------
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]

Reply via email to