隨筆-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的源代碼,其實實現(xiàn)就是java relection非常的簡單

          posted on 2006-04-13 08:53 小小程序程序員混口飯吃 閱讀(711) 評論(0)  編輯  收藏 所屬分類: java
          主站蜘蛛池模板: 田东县| 禹城市| 新化县| 上杭县| 连江县| 鄂托克旗| 腾冲县| 房产| 枣强县| 张家川| 当雄县| 开封市| 吴忠市| 铜山县| 成安县| 枣阳市| 客服| 靖州| 桂平市| 绍兴县| 申扎县| 砀山县| 民乐县| 巴彦县| 丰顺县| 怀来县| 来安县| 溆浦县| 六盘水市| 逊克县| 内黄县| 章丘市| 清河县| 乌拉特中旗| 五家渠市| 长顺县| 彭山县| 松潘县| 邳州市| 冀州市| 勐海县|