sorry, I have really misunderstood the DispatchAction. Thank's Erik for pointing it 
out.
In case of MultiSubmitAction working with DispatchAction, the solution would be:

    <action    path="/test"
               type="org.apache.struts.actions.MultiSubmitAction"
               name="testForm"
              scope="request"
              input="/test.jsp">
      <forward name="add.x"         path="/addDelete.do&method=add"/>
      <forward name="delete.x"      path="/addDelete.do&method=delete"/>
    </action>

    <action    path="/addDelete"
               type="org.apache.struts.webapp.example.AddDeleteAction"
               name="testForm"
              parameter="method"
              scope="request"
              input="/test.jsp">
    </action>


Dmitri Valdin



--

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn 
Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das 
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



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

Reply via email to