我知道是struts2读取配置文件的顺序是:struts-default.xml、struts-plugin.xml、struts.xml、struts.properties、web.xml如果在 struts-plugin.xml中定义了<constant name="struts.objectFactory.spring.autoWire" value="type"  />但是在sturts.xml中定义了<constant name="struts.objectFactory.spring.autoWire" value="name"  />那么最后自动注入属性时是按什么注入的,如果后面配置文件会把先读取的文件的属性值给覆盖掉,为什么会覆盖掉呢?最好给解释下原因,或者给个相关连接也行,谢谢!!!