<?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 Bean Definitions ================================== -->

      <form-beans>

            <!-- Simple ActionForm Bean -->

            <form-bean name="simpleForm"

                  type="com.ebpm.webdemo.struts.SimpleActionForm" />

      </form-beans>

 

      <!-- ========= Global Exception Definitions ============================ -->

      <global-exceptions></global-exceptions>

 

      <!-- ========== Global Forward Definitions ============================= -->

 

      <global-forwards></global-forwards>

 

      <!-- ========== Action Mapping Definitions ============================= -->

      <action-mappings>

           

            <action path="/simple"

                  type="com.ebpm.webdemo.struts.SimpleAction" name="simpleForm"

                  scope="request" input="/struts/simple.jsp" cancellable="true"

                  validate="false">

                  <forward name="success" path="/struts/simple.jsp" />

                  <forward name="home" path="/index.jsp" />

            </action>

 

      </action-mappings>

 

</struts-config>