Exception information:
-
- struts2
- org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
-
- config
- struts-default .xml,struts-plugin.xml,struts2/struts-*.xml
-
-
Copy code
Must add:
struts-default.xml (required), struts-plugin.xml (optional) two additional configuration files.
Cause analysis:
struts-default.xml is the default configuration file, and some necessary framework parameters are set here by default.
I hope the above method can help you introduce the problem of modifying the configuration file in struts2.
|