HTTP Status 404 - No result defined for action com.ssk.action.Register and result success
调试好几个小时···最后发现问题,是因为
<action name="register" class="com.ssk.action.Register" >
<result name="success">/success.jsp</result>
<result name="error">/error.jsp</result>
</action>
应该是和struts中关键字“register”冲突
解决:把action名字换了就ok:
<action name="register2" class="com.ssk.action.Register" >
<result name="success">/success.jsp</result>
<result name="error">/error.jsp</result>
</action>