heting

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  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 贺挺 阅读(103) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: