读书人

spring实例化struts1可能struts2.x的a

发布时间: 2012-11-20 09:55:44 作者: rapoo

spring实例化struts1或者struts2.x的action
spring实例化struts1或者struts2.x的action?? ? <result name="leader">/Class_intro.jsp</result>
? ? <result name="cards">/Class_member.jsp</result>
? ?</action>


applicationContext.xml中:
<bean id="loginAction"
ref="studentBean" />
</bean>

?

?

?

struts1.x

?

<action name="treeForm" path="/treeAction" scope="request"
???parameter="actions"
???type="org.springframework.web.struts.DelegatingActionProxy">
???<forward name="select"
????path="/platform/common/treeSelect.jsp" />
???<forward name="defeat" path="/common/error.jsp" />
??</action>

?

applicationContext.xml中:
<bean id="treeAction"
ref="studentBean" />
</bean>

读书人网 >软件架构设计

热点推荐