<struts>
<package name="default" namespace="/" extends="struts-default">
<action name="addAction" class="cn.jjctt.action.UserAction" method="add">
<result>/add.jsp</result>
</action>
</package>
</struts>
上面这个addAction.action可以正常显示
<struts>
<package name="default" namespace="/" extends="struts-default">
<action name="addUserAction" class="cn.jjctt.action.UserAction" method="add">
<result>/add.jsp</result>
</action>
</package>
</struts>
名字中间加个了User,addUserAction.action会出
HTTP Status 404 - There is no Action mapped for namespace / and action name addUserAction.
?真心不明白
乐乐熊1
yanrun
慕的地6079101
car
相关分类