Struts.xml配置文件中
<constant name="struts.configuration.files" value="struts-default.xml,struts-plugin.xml,struts.xml" />
<constant name="struts.objectFactory"
value="org.apache.struts2.spring.StrutsSpringObjectFactory" />
<constant name="struts.objectFactory.spring.autoWire" value="type" />
引用:http://student.csdn.net/space.php?uid=132121&do=blog&id=18578