There is no Action mapped for namespace [/] and action name [user!add] associated with context path

使用struts2.3进行动态方法调用时出现:There is no Action mapped for namespace [/] and action name [user!add] associated with context path 

在xml中加入这一句:

<constant name="struts.enable.DynamicMethodInvocation" value="true" />
就行了。

你可能感兴趣的:(Struts2.3)