Struts 2とSpringを組み合わせたjarバッグ


Struts 2はSpringと組み合わせて使用して、SpringにActionの例を管理させて、struts 2-spring-plugin-x.x.x.jarを導入する.
Springでアクションの例を管理するなら、web.xmlに次の構成を追加する必要がありますか?
<constant name="struts.objectFactory" value="spring" />
今日発見したのですが、この文は全部プラスしなくてもいいです.struts 2-spring-plugin-x.x.jarカバンの中のstruts-plugin.xmlファイルには以下のような構成があります.
<bean type="com.opensymphony.xwork2.ObjectFactory" name="spring" class="org.apache.struts2.spring.StrutsSpringObjectFactory" />

<!--  Make the Spring object factory the automatic default -->
<constant name="struts.objectFactory" value="spring" />