heting

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            40 隨筆 :: 9 文章 :: 45 評論 :: 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) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 舒兰市| 武山县| 白山市| 微博| 吉木乃县| 延长县| 邳州市| 普宁市| 陇西县| 闽侯县| 临朐县| 廉江市| 年辖:市辖区| 诸暨市| 太和县| 齐河县| 黄山市| 龙游县| 图们市| 天祝| 黄大仙区| 姚安县| 于都县| 东丰县| 罗甸县| 诸暨市| 宁蒗| 桐柏县| 九龙城区| 延津县| 黔西县| 梨树县| 兴安县| 张北县| 铜陵市| 中牟县| 壤塘县| 亚东县| 新竹县| 玛多县| 渭源县|