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

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

<struts-config>

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

    <!-- loading up the customer list form -->
    <action    path="/customerlistload"
               type="objectivehtml.struts.ObjectiveHtmlAction">
      <forward name="success"              path="/customerlist.jsp"/>
    </action>

    <!-- loading up the customer form -->
    <action    path="/customerload"
               type="objectivehtml.struts.ObjectiveHtmlAction">
      <forward name="success"              path="/customer.jsp"/>
    </action>

    <!-- processing the customer form -->
    <action    path="/customersave"
               type="objectivehtml.struts.ObjectiveHtmlAction">
      <forward name="failure"              path="/customer.jsp"/>
      <forward name="success"              path="/customer.jsp"/>               
    </action>

    <!-- The standard administrative actions available with Struts -->
    <!-- These would be either omitted or protected by security -->
    <!-- in a real application deployment -->
    <action    path="/admin/addFormBean"
               type="org.apache.struts.actions.AddFormBeanAction"/>
    <action    path="/admin/addForward"
               type="org.apache.struts.actions.AddForwardAction"/>
    <action    path="/admin/addMapping"
               type="org.apache.struts.actions.AddMappingAction"/>
    <action    path="/admin/reload"
               type="org.apache.struts.actions.ReloadAction"/>
    <action    path="/admin/removeFormBean"
               type="org.apache.struts.actions.RemoveFormBeanAction"/>
    <action    path="/admin/removeForward"
               type="org.apache.struts.actions.RemoveForwardAction"/>
    <action    path="/admin/removeMapping"
               type="org.apache.struts.actions.RemoveMappingAction"/>


  </action-mappings>

</struts-config>