There is a property for that already,
http://struts.apache.org/2.1.6/docs/action-configuration.html#ActionConfiguration-DynamicMethodInvocation

musachy

On Sun, Apr 26, 2009 at 4:32 PM, Wes Wannemacher <[email protected]> wrote:
> On Sunday 26 April 2009 04:27:28 pm Andreas Joseph Krogh wrote:
>> On Sunday 26 April 2009 10:10:29 pm Musachy Barroso wrote:
>> > But you always map a url to a method, an action is not executed, a
>> > method is. Even if you don't specify a method, "execute" will be used
>> > by default.
>>
>> I like the methods to be a parameter (&method:next=true for calling
>> MyAction.nex() for example) not part of the URI itself.
>
> Hmm... that sounds sort of dangerous to me :), but if it is functionality you
> would like, feel free to create a patch. Just make sure that it is behavior
> you can only activate by setting a configuration parameter.
>
> -Wes
>
> --
>
> Wes Wannemacher
> Author - Struts 2 In Practice
> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
> http://www.manning.com/wannemacher
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to