Struts2 2.5.2

http://struts.apache.org/docs/action-configuration.html

<constant name="struts.enable.DynamicMethodInvocation" value="false" />  改为true,开启动态方法调用

是通配符严格问题问题
改了下面就ok了

<package name="user" extends="struts-default" namespace="/" strict-method-invocation="false">
原文地址:https://www.cnblogs.com/smallfa/p/5978877.html