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
          懂了
          主站蜘蛛池模板: 亚东县| 三亚市| 乃东县| 顺昌县| 奎屯市| 庆阳市| 松滋市| 剑川县| 偏关县| 晋江市| 西林县| 年辖:市辖区| 莲花县| 周口市| 沭阳县| 和龙市| 光泽县| 涿州市| 双辽市| 神木县| 徐闻县| 兰溪市| 伊宁县| 新田县| 静海县| 化州市| 大同市| 通化县| 仁寿县| 唐海县| 唐河县| 元谋县| 大宁县| 宝山区| 丁青县| 孟连| 社会| 平泉县| 霍林郭勒市| 东阳市| 芜湖市|