Struts2配置文件,求助,我是好人,我又来了!
<!-- 垃圾邮件显示,垃圾邮件删除 -->
<action name="junkmailAction" class="mailAction" method="junkfinAll">
<result name="junkmial">/mail/show_mail.jsp</result>
</action>
<action name="deletemaiAction" class="mailAction" method="delete">
<result name="delete">/mail/show_mail.jsp</result>
</action>
如上代码,我想第二个action执行完返回再执行以下第一个action,怎么弄!小菜鸟,求指导!!
------解决方案--------------------你可以action之间互相转发 redirectAction
------解决方案--------------------
第二个action这样配试试
<action name="deletemaiAction" class="mailAction" method="delete">
<result name="delete" type="redirect">junkmailAction</result>
</action>