You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

If you are finding that the xwork configuration is not reloaded when you redeploy your war. Is there a way to tell webwork to unload its configuration when the context is destroyed.

Try to call

com.opensymphony.xwork.config.ConfigurationManager.destroyConfiguration() 

Useful Information

This should destroy the current configuration and perform a config reload on next request. You can use a action for do it.

another tip

webwork.properties
### Configuration reloading
### This will cause the configuration to reload xwork.xml when it is changed
webwork.configuration.xml.reload=false
  • No labels