<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
          "http://struts.apache.org/dtds/struts-config_1_3.dtd">

<!--
     This is a test Struts configuration file
-->


<struts-config>

  <!-- ========== Form Bean Definitions =================================== -->
  <form-beans>
    <form-bean       name="testDynaFormBean"
                     type="org.apache.struts.validator.DynaValidatorForm">
      <form-property name="field1" type="java.lang.String"/>
      <form-property name="field2" type="java.lang.String"/>
    </form-bean>


    <!-- Registration form bean -->
    <form-bean      name="testFormBean"
                    type="org.apache.struts.taglib.SimpleBeanForTesting"/>


  </form-beans>


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

    <!-- Example logon forward 
     <forward   name="logon"                path="/logon.jsp"/>
     -->
     <forward name="simpleForward" 
     			path="/path/to/non/existing/jsp.jsp"/>
     			
     <forward name="testIncludeTagForward" 
     			path="/test/org/apache/struts/taglib/bean/resources/IncludeTagTest.jsp"/>
</global-forwards>


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

    <action    path="/testIncludeTagTransaction"
               type="org.apache.struts.taglib.bean.resources.IncludeTagTransactionTestAction">
      <forward name="success"              
      		   path="/test/org/apache/struts/taglib/bean/resources/IncludeTagTest.jsp"/>
    </action>

    <action    path="/simpleAction"
               type="does.not.exist.SimpleAction">
      <forward name="success"
      		   path="/does/not/exist/jsp.jsp"/>
    </action>

    <action    path="/testFormTag"
               type="org.apache.struts.taglib.html.resources.FormTagTestAction"
               name="testFormBean"
              scope="request">
      <forward name="success"              
      			path="/test/org/apache/struts/taglib/html/TestFormTag1.jsp"/>
    </action>

  </action-mappings>


  <message-resources
    parameter="org.apache.struts.taglib.bean.resources.ApplicationResources"/>

  <message-resources
    parameter="org.apache.struts.taglib.bean.resources.AlternateApplicationResources"
    key="alternate"/>


</struts-config>
