Child pages
  • How can we force the Action Mappings (struts.xml) to reload

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3


Code Block
### Configuration reloading
### This will cause the configuration to reload xworkstruts.xml when it is changed


Reloading the Configuration

Create a utility Action that calls destroyConfiguration reload.

Code Block
// ...
String execute() {
  return SUCCESS;

Invoking destryConfiguration should destroy the current configuration and force the configuration to be reloaded on next request (which you might want to make yourself!) reload will force Struts to reload the configuration.