posts - 66, comments - 12, trackbacks - 0, articles - 0

struts2中action跳转到另一个action的方法

Posted on 2008-05-24 14:08 cyantide 阅读(9730) 评论(6)  编辑  收藏 所属分类: struts2
从action1直接跳转到action2,有两种方法:

1. 需要保存前一个action的属性信息时使用:
         <result   type= "chain ">action2</result>
2. 不保存前一个action的参数可以用这种方法:
         <result   type= "redirect-action "> ActionName </result>

Feedback

# re: struts2中action跳转到另一个action的方法  回复  更多评论   

2008-11-28 20:11 by xi
谢谢啦!

# re: struts2中action跳转到另一个action的方法  回复  更多评论   

2010-01-13 16:45 by xiexie
谢谢

# re: struts2中action跳转到另一个action的方法  回复  更多评论   

2011-10-23 16:22 by ff
谢谢

# re: struts2中action跳转到另一个action的方法  回复  更多评论   

2012-02-27 20:48 by tq
学习

# re: struts2中action跳转到另一个action的方法  回复  更多评论   

2012-12-24 17:25 by sdaf
sdfasfsdf

# re: struts2中action跳转到另一个action的方法[未登录]  回复  更多评论   

2013-01-11 17:38 by song
懂了

只有注册用户登录后才能发表评论。


网站导航: