隨筆-109  評論-187  文章-25  trackbacks-0
          ?

          1: struts1.2.7 中使用 mappingdispatchAction

          ?

          parameter 中直接來定義的就是 METHOD name

          一個 /xxxx.do 用一個 <action mapping…/> 來定義比如

          ?

          ?

          <action path=”/add”

          parameter=”add”

          type=”xxxextMappingdispatchAction”

          >

          <forward name=”success” path=”/addsuccess.jsp”/>

          </acton>

          ?

          <action path=”/edit”

          parameter=”edit”

          type=”xxxextMappingdispatchAction”

          >

          <forward name=”success” path=”/editsuccess.jsp”/>

          </action>

          看一下STRUTS的源代碼,其實實現就是java relection非常的簡單

          posted on 2006-04-13 08:53 小小程序程序員混口飯吃 閱讀(714) 評論(0)  編輯  收藏 所屬分類: java
          主站蜘蛛池模板: 阿瓦提县| 祁阳县| 西盟| 东丽区| 铜川市| 威远县| 集贤县| 汝州市| 新疆| 吴川市| 冕宁县| 蒲城县| 葵青区| 苏尼特右旗| 大新县| 湘乡市| 凭祥市| 偃师市| 锦州市| 吉林省| 布尔津县| 雷山县| 高安市| 泰州市| 贵定县| 萍乡市| 哈巴河县| 中江县| 金平| 莱州市| 会理县| 黄大仙区| 泸州市| 刚察县| 长岭县| 福州市| 偃师市| 上思县| 仁怀市| 郁南县| 新兴县|