>*whew*   - much better!  :)

glad about that :-)

>Except that I don't prefer the method you describe because of its increased
>footprint in struts-config.xml - but we've already covered that issue.

well, but now, in case of using DispatchAcion this footprint is really small,
I would say, that it is not much bigger, than implementing getKeyMethodMap() ;-)


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

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

You have:

    <action    path="/test"
               type="org.apache.struts.actions.LookupDispatchAction"
               name="testForm"
              scope="request"
            parameter="action"
              input="/test.jsp">
    </action>

and mappings defined in getKeyMethodMap() method
plus application resource entry.


Dmitri


--

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