Java spring3中struts2链的等效值是多少?
我是spring3的新手。我从struts2学习spring。在struts2中,我使用链将请求参数值传递给一个动作到另一个动作Java spring3中struts2链的等效值是多少?,java,spring,Java,Spring,我是spring3的新手。我从struts2学习spring。在struts2中,我使用链将请求参数值传递给一个动作到另一个动作 <action name="some" class="com.hello"> <result name="success" type="chain">world</result> </action> <action name="world" class="com.world"> <result name
<action name="some" class="com.hello">
<result name="success" type="chain">world</result>
</action>
<action name="world" class="com.world">
<result name="success">helloworld.jsp</result>
</action>
如何在spring3中实现相同的功能?不鼓励使用“链结果”。@Alexsandr,我的要求是将用户添加到数据库并重定向到另一个带有成功消息的页面。使用重定向我无法传递它。是的,您可以。。。你读过并了解过吗?@Madhesh在S2中几乎不需要链锁;我会考虑采用一种不同的方法,比如Flash,它只是专门的会话使用,如果它是DB信息,则重新检索,它应该由缓存层处理,或者只是关于除Cuffin之外的任何其他内容。