Struts2的DMI动态方法调用:!后面跟方法名 struts.xml里要加 <constant name="struts.enable.DynamicMethodInvocation" value="true"/> 因为有的版本默认是false 转载于:https://www.cnblogs.com/chuansao/p/4075792.html