struts2.1改变配置文件默认位置
<filter> <init-param> <param-name>config</param-name> <param-value>struts-default.xml,struts-plugin.xml,../struts.xml</param-value> </init-param> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class> </filter>
No mapping found for dependency [type=com.opensymphony.xwork2.ObjectFactory, name='default']