Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create a utility Action that calls destroyConfiguration.

Code Block
titleMyUtilityAction.java

// ...
String execute() {
  com.opensymphony.xwork.config.ConfigurationManager.destroyConfiguration();
  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!).