Dashboard > WebWork > ... > FAQ > How to reload xwork configuration
  WebWork Log In View a printable version of the current page.  
  How to reload xwork configuration
Added by victorsosa, last edited by victorsosa on Jan 12, 2006  (view change)
Labels: 
(None)

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

This is another option that you can use, change for true.

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

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators