struts2 怎么从一个action跳到另一个action

如题所述

    需要保存前一个action的属性信息时使用,保存住action1的request对象:

    <result type= "chain " name="a2">action2</result>   

2. 不保存前一个action的参数可以用这种方法:

    <result  type= "redirectAction "> action2</result>  

有以上这两种方式。

温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答