There are three configuration files which are by default loaded by the framework (if they exist):
struts-default.xml
- included in struts2-core.jar, contains all basic configuration of the frameworkstruts-plugin.xml
- if plugin want to override some defaults or define its own settings (results, actions, etc)struts.xml
- contains user defined configuration, mostly actions, results and custom stacks of interceptors
You should just use struts.xml
and put all the configurations there.
Some notes about struts-plugin.xml
- http://struts.apache.org/development/2.x/docs/plugins.html