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
          懂了
          主站蜘蛛池模板: 江陵县| 阿勒泰市| 苍梧县| 广宁县| 鄱阳县| 玉屏| 南投县| 垦利县| 濉溪县| 珲春市| 桦南县| 棋牌| 乌恰县| 彭州市| 抚顺县| 冕宁县| 新余市| 福贡县| 珠海市| 五大连池市| 五台县| 水富县| 原阳县| 高台县| 嘉定区| 峡江县| 东源县| 汉阴县| 博客| 南和县| 惠东县| 洞口县| 元阳县| 双峰县| 蒙阴县| 双鸭山市| 阳原县| 邢台市| 吉木萨尔县| 邵阳市| 奉贤区|