Howdy,

Please take a look at this excerpt from the Struts config file for the
"example" app.

   <!-- Edit user registration -->
    <action    path="/editRegistration"
 
type="org.apache.struts.webapp.example.EditRegistrationAction"
          attribute="registrationForm"
              scope="request"
           validate="false">
      <forward name="success"              path="/registration.jsp"/>
    </action>

    <!-- Edit mail subscription -->
    <action    path="/editSubscription"
 
type="org.apache.struts.webapp.example.EditSubscriptionAction"
          attribute="subscriptionForm"
              scope="request"
           validate="false">
      <forward name="failure"              path="/mainMenu.jsp"/>
      <forward name="success"              path="/subscription.jsp"/>
    </action>

According to the Struts 1.1 DTD, the use of attribute, scope, and
validate are invalid since name is not specified. Replacing the
"attribute" attribute with "name" appears to be the appropriate fix. Is
that correct?

Best Regards,
Bill


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

Reply via email to