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

          struts2中action跳轉到另一個action的方法

          Posted on 2008-05-24 14:08 cyantide 閱讀(9751) 評論(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
          懂了
          主站蜘蛛池模板: 科尔| 遂川县| 依兰县| 安新县| 页游| 陆河县| 托克托县| 定安县| 大港区| 河津市| 和平县| 托克逊县| 崇仁县| 颍上县| 通化市| 曲沃县| 南涧| 平利县| 神木县| 定安县| 沂源县| 天气| 彝良县| 五指山市| 兰考县| 祁门县| 苗栗市| 白水县| 淄博市| 千阳县| 霍林郭勒市| 海兴县| 闽侯县| 商洛市| 石柱| 武夷山市| 定日县| 噶尔县| 察隅县| 潞西市| 西林县|