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

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

          Posted on 2008-05-24 14:08 cyantide 閱讀(9745) 評論(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
          懂了
          主站蜘蛛池模板: 浪卡子县| 邯郸市| 广州市| 林州市| 上林县| 兴仁县| 大城县| 印江| 明水县| 微山县| 烟台市| 顺义区| 永善县| 兰溪市| 无为县| 商都县| 和静县| 苏州市| 华宁县| 黄骅市| 大悟县| 德钦县| 朔州市| 蚌埠市| 大新县| 元阳县| 清原| 乌拉特后旗| 绥阳县| 旬阳县| 沙雅县| 墨玉县| 香格里拉县| 崇文区| 澳门| 陵水| 清水河县| 灯塔市| 木里| 乡城县| 池州市|