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

来源:互联网 发布:酷家乐装修软件下载 编辑:程序博客网 时间:2024/06/05 15:04

使用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" />
就行了。

0 0
原创粉丝点击