Posted on 2008-05-24 14:08
cyantide 閱讀(9745)
評論(6) 編輯 收藏 所屬分類:
struts2
從action1直接跳轉到action2,有兩種方法:
1. 需要保存前一個action的屬性信息時使用:
<result type= "chain ">action2</result>
2. 不保存前一個action的參數(shù)可以用這種方法:
<result type= "redirect-action "> ActionName </result>