You can try to write your own ActionMapper which will extract request
parameter "action" and base on that lookup for action.

2013/8/7 Arpan <arpan.deb...@gmail.com>:
> Anybody to help here...
>
> Thanks in Advance.
>
>
> On Tue, Aug 6, 2013 at 7:43 PM, Arpan <arpan.deb...@gmail.com> wrote:
>
>> Hi All,
>>
>> We are migrating from struts1 to struts2.
>>
>> In our pages we have multiple buttons which through struts1 DispatchAction
>> can be guided  to different methods in Action class. For that we need
>> minimal changes. Such as
>>  In action mapping if we add parameter="action" and in JSP if the URL is
>> like x.do?action=method1, it happily directs the control to method1 in
>> Action class.
>>
>> I got the bellow link for struts2, but for that also we need much changes
>> to be done.
>> http://struts.apache.org/development/2.x/docs/multiple-submit-buttons.html
>>
>> Is there any such way we do similar functionality in struts2 with minimal
>> changes.
>>
>> Thanks
>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to