HTTP Status 404 - There is no Action mapped for namespace struts2
struts2 出现 HTTP Status 404 - There is no Action mapped for namespace错误
在struts配置文件中:
<package name="management.gridMemberInfo" namespace="/management/gridMemberInfo" extends="web.manager"> <action name="gmi_" method="{1}" class="com.jpsycn.kfwggl.management.action.GridMemberInfoAction"> <interceptor-ref name="web-stack" /> <result name="toMain">/WEB-INF/management/grid_member_info.jsp</result> </action> </package>
可能原因:1.extends写错了
2.name="gmi_"少写了个*,name="gmi_*"