struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Nenning <Christoph.Nenn...@lex-com.net>
Subject Antwort: Re: strict DMI, was: Url rewriting of .action to .jsp
Date Tue, 01 Oct 2013 07:50:11 GMT
> >
> > 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message