Most often, the Action Mappings will be automatically reloaded if the WAR is redeployed. If not, there are two things you can try: Setting the reload property to true and destroying the configuration.

Setting Reload to True
### Configuration reloading
### This will cause the configuration to reload struts.xml when it is changed

Reloading the Configuration

Create a utility Action that calls reload.
// ...
String execute() {
  return SUCCESS;

Invoking reload will force Struts to reload the configuration.

  • No labels