Done

https://cwiki.apache.org/confluence/display/WW/Action+Configuration#ActionConfiguration-DynamicMethodInvocation

2013/10/1 Christoph Nenning <christoph.nenn...@lex-com.net>:
>> >
>> > Would you please have a look at the sample app and tell me what I am
> doing
>> > wrong?
>> >
>> >
> https://github.com/wolpi/struts2-samples/tree/master/dmiandactionmappingtest
>
>>
>> <constant name="struts.enable.DynamicMethodInvocation" value="true"/>
>>
>> It must be true, if false whole DMI logic is off.
>>
>> <action name="hello"
>> class="struts2.samples.dmiandactionmappingtest.actions.HelloAction">
>>
>> Removed method={1} as you don't use "*" mapping
>>
>> <allowed-methods>add</allowed-methods>
>>
>> In this way you define allowed methods.
>>
>
> Okay, now even I understand it, thanks a lot.
>
> Would you mind adding that sample struts.xml in the wiki, that I can find
> it next time I need it?
>
>
>> > Next question is: how to use strict DMI with convention plugin?
>>
>> Not yet, I will add it soon.
>>
>>
>
> Looking forward to it
>
>
> Regards,
> Christoph
>
> This Email was scanned by Sophos Anti Virus

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

Reply via email to