heting

            BlogJava :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            40 隨筆 :: 9 文章 :: 45 評(píng)論 :: 0 Trackbacks
          <?xml version="1.0" encoding="UTF-8"?>
          <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" "http://struts.apache.org/dtds/struts-config_1_3.dtd">

          <struts-config>
            
          <form-beans >
              
          <form-bean name="userForm" type="struts.form.UserForm" />

            
          </form-beans>

            
          <global-exceptions />
            
          <global-forwards >
              
          <forward name="success" path="/success.jsp" />
              
          <forward name="error" path="/error.jsp" />

            
          </global-forwards>

            
          <action-mappings >
              
          <action
                
          attribute="userForm"
                name
          ="userForm"
                path
          ="/insert"
                scope
          ="request"
                type
          ="org.springframework.web.struts.DelegatingActionProxy" />
                 
          <action
                
          attribute="userForm"
                name
          ="userForm"
                path
          ="/login"
                scope
          ="request"
                type
          ="org.springframework.web.struts.DelegatingActionProxy" >
                
          <forward name="success" path="/index.jsp" />
                 
          </action>

                
                 
          <action
                
          attribute="userForm"
                name
          ="userForm"
                path
          ="/getAll"
                scope
          ="request"
                type
          ="org.springframework.web.struts.DelegatingActionProxy" >
                
          <forward name="success" path="/fpage.do" />
                 
          </action>

                
                 
          <action
                
          attribute="userForm"
                name
          ="userForm"
                path
          ="/update"
                scope
          ="request"
                type
          ="org.springframework.web.struts.DelegatingActionProxy" />
                 
          <action
                
          attribute="userForm"
                name
          ="userForm"
                path
          ="/fpage"
                scope
          ="request"
                type
          ="org.springframework.web.struts.DelegatingActionProxy" >
                
          <forward name="success" path="/userList.jsp" />
                 
          </action>

                
                 
          <action
                
          attribute="userForm"
                name
          ="userForm"
                path
          ="/delete"
                scope
          ="request"
                type
          ="org.springframework.web.struts.DelegatingActionProxy" />
                 
          <action
                
          attribute="userForm"
                name
          ="userForm"
                path
          ="/find"
                scope
          ="request"
                type
          ="org.springframework.web.struts.DelegatingActionProxy" >
                
          <forward name="success" path="/update.jsp" />
                 
          </action>

                

            
          </action-mappings>

            
          <message-resources parameter="struts.ApplicationResources" />
            
          <plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
              
          <set-property property="contextConfigLocation" value="/WEB-INF/applicationContext.xml" />
            
          </plug-in>
          </struts-config>
          <%@taglib uri="http://jakarta.apache.org/struts/tags-bean"  prefix="bean"%>
          <%@taglib uri="http://jakarta.apache.org/struts/tags-html"  prefix="html"%>
          <%@taglib uri="http://jakarta.apache.org/struts/tags-logic"  prefix="logic"%>

          isErrorPage="true"





          posted on 2008-09-17 22:41 賀挺 閱讀(123) 評(píng)論(0)  編輯  收藏

          只有注冊(cè)用戶(hù)登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 旬阳县| 黑山县| 普宁市| 北海市| 甘德县| 朝阳区| 长丰县| 临邑县| 屏东市| 陵川县| 临泉县| 宜都市| 托里县| 浪卡子县| 高碑店市| 阿合奇县| 新绛县| 紫云| 香格里拉县| 临颍县| 鄂尔多斯市| 磴口县| 富平县| 湘乡市| 泊头市| 连州市| 亳州市| 日喀则市| 奉新县| 临夏市| 东丰县| 年辖:市辖区| 邵阳县| 神木县| 阿拉尔市| 扶余县| 珲春市| 兴国县| 老河口市| 贡觉县| 喜德县|