Hello,
        Haven't used struts 1.2, just 1.1 & 1.3(in dev), but as far as I
know
You should have a 'type' attribute associated with each <action>
element...

And I bet that hasn't been changed between different versions of
struts...


Regards
        marco

-----Original Message-----
From: Sher, Allen - BLS CTR [mailto:[EMAIL PROTECTED] 
Sent: 07 July 2005 15:26
To: 'Struts Users Mailing List'
Subject: RE: Struts-config.xml Digester endElement problem

Here is the struts-config.xml



<?xml version = "1.0" encoding = "ISO-8859-1"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD
Struts
Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd";>

<struts-config>

   <!-- ========== Data Source Configuration ============== -->
   <data-sources />

   <!-- ========== Form Bean Definitions ===================== -->
   <form-beans type = "gov.bls.cpi.sms.webApp.SmsForm">
      <form-bean name="smsForm"
type="gov.bls.cpi.sms.webApp.SmsForm">
      </form-bean>
      <form-bean name="noteForm"
type="gov.bls.cpi.sms.webApp.NoteForm">
      </form-bean>
   </form-beans>

   <!-- ========== Global Exceptions ======================= -->
   <global-exceptions />

   <!-- ========== Global Forward Definitions ============== -->
   <global-forwards>
      <forward name = "logoff"         path = "/logoff.do"/>
      <forward name = "logon"          path = "/logon.jsp"/>
      <forward name = "main"           path = "/showPlan.do"/>
      <forward name = "success"        path = "/showPlan.do"/>
      <forward name = "failure"        path = "/error.jsp"/>
      <forward name = "error"          path = "/error.jsp"/>
   </global-forwards>

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

      <!-- Logon -->
      <action path = "/logon" forward="/showPlan.do" >
      </action>

      <!-- Logoff -->
      <action path = "/logoff" forward="/welcome.jsp">
      </action>

      <!-- Show a production production -->
      <action path = "/showPlan" forward="/productionPlan.jsp">
      </action>

      <!-- Production Workflow Help -->
      <action path = "/workflowHelp" forward="/workflowHelp.jsp">
      </action>

      <!-- Show the Notes of a Run  -->
      <action path = "/notes" forward="/notes.jsp">
      </action>

      <!-- Add notes to a Run  -->
      <action path="/addNote"
className="gov.bls.cpi.sms.webApp.SmsController"
            name="noteForm" scope="request" validate="false">
         <forward name="success" path="/addNote.do" redirect="true" />
      </action>

      <!-- Show the job log -->
      <action path = "/showJobLog" forward="/jobLog.jsp">
      </action>

      <!-- Roll back the previous Action of a Run  -->
      <action path = "/backtrack" forward="/toDo.jsp">
      </action>

      <!-- Set the Production Cycle  -->
      <action path = "/setCycle" forward="/listCycles.jsp">
      </action>

      <!-- Start a new Production Cycle  -->
      <action path = "/startCycle" forward="/startCycle.jsp">
      </action>

      <!-- Confirm starting an (automatic) Activity  -->
      <action path = "/confirmStartActivity" forward="/confirm.jsp">
      </action>

      <!-- Start an (automatic) Activity  -->
      <action path = "/startActivity" forward="/toDo.jsp">
      </action>

      <!-- Confirm signing off a (manual) Activity  -->
      <action path = "/confirmSignOffActivity" forward="/confirm.jsp">
      </action>

      <!-- Sign off a (manual) Activity  -->
      <action path = "/signOffActivity" forward="/toDo.jsp">
      </action>

      <!-- Confirm an Activity  -->
      <action path = "/confirm" forward="/showPlan.do">
      </action>

      <!-- Show the list of Reports  -->
      <action path = "/listReports" forward="/listReports.jsp">
      </action>

      <!-- Show the selected Report  -->
      <action path = "/showReport" forward="/report.jsp">
      </action>

      <!-- Edit Data  -->
      <action path = "/editData" forward="/toDo.jsp">
      </action>

   </action-mappings>

</struts-config>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to