> >
> > 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

Reply via email to