<action name="hellowword" class="com.Action.hellowAction">
<result >/result.jsp</result>
<result name="add">/add.jsp</result>
<result name="update">/update.jsp</result>
</action>
<result >/result.jsp</result>
<result name="add">/add.jsp</result>
<result name="update">/update.jsp</result>
</action>
http://localhost:8080/struts_hellowworld/aaa/hellowworld!.action
发现并不能使用成功,那是因为在struts2.3版本后动态方法调用的话 默认设成FALSE 了 ,必须手动设置成TRUE才有效.
<constant name="struts.enable.DynamicMethodInvocation" value="true"> </constant>