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

          struts2中action跳轉(zhuǎn)到另一個action的方法

          Posted on 2008-05-24 14:08 cyantide 閱讀(9746) 評論(6)  編輯  收藏 所屬分類: struts2
          從action1直接跳轉(zhuǎn)到action2,有兩種方法:

          1. 需要保存前一個action的屬性信息時使用:
                   <result   type= "chain ">action2</result>
          2. 不保存前一個action的參數(shù)可以用這種方法:
                   <result   type= "redirect-action "> ActionName </result>

          Feedback

          # re: struts2中action跳轉(zhuǎn)到另一個action的方法  回復(fù)  更多評論   

          2008-11-28 20:11 by xi
          謝謝啦!

          # re: struts2中action跳轉(zhuǎn)到另一個action的方法  回復(fù)  更多評論   

          2010-01-13 16:45 by xiexie
          謝謝

          # re: struts2中action跳轉(zhuǎn)到另一個action的方法  回復(fù)  更多評論   

          2011-10-23 16:22 by ff
          謝謝

          # re: struts2中action跳轉(zhuǎn)到另一個action的方法  回復(fù)  更多評論   

          2012-02-27 20:48 by tq
          學(xué)習(xí)

          # re: struts2中action跳轉(zhuǎn)到另一個action的方法  回復(fù)  更多評論   

          2012-12-24 17:25 by sdaf
          sdfasfsdf

          # re: struts2中action跳轉(zhuǎn)到另一個action的方法[未登錄]  回復(fù)  更多評論   

          2013-01-11 17:38 by song
          懂了
          主站蜘蛛池模板: 平原县| 依兰县| 大石桥市| 大化| 双桥区| 民乐县| 青田县| 内黄县| 饶河县| 永和县| 长汀县| 德令哈市| 富宁县| 雅安市| 新郑市| 裕民县| 黄大仙区| 永靖县| 进贤县| 江永县| 巢湖市| 获嘉县| 崇州市| 环江| 东丽区| 新建县| 福建省| 裕民县| 阳城县| 大田县| 抚顺县| 始兴县| 潼关县| 西宁市| 合山市| 桐柏县| 武宁县| 吉林市| 瓮安县| 洱源县| 东海县|