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 賀挺 閱讀(118) 評(píng)論(0)  編輯  收藏

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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 微山县| 巴彦淖尔市| 休宁县| 宁明县| 莱州市| 靖宇县| 朝阳县| 大城县| 北川| 皋兰县| 施甸县| 信宜市| 汝州市| 黔西| 丹巴县| 东乡县| 铁岭市| 中方县| 盐山县| 闽清县| 伽师县| 四子王旗| 神农架林区| 喀喇沁旗| 霍林郭勒市| 齐河县| 九寨沟县| 故城县| 平谷区| 周宁县| 成武县| 新安县| 洛宁县| 扬州市| 山东省| 容城县| 留坝县| 霍邱县| 新乐市| 永寿县| 莆田市|