最新回答 / 不为
<result>/error.jsp</result> 这里改成<result name="error">/error.jsp</result>试试不写name默认是name="success"
2016-08-12
最新回答 / L_Allen
<default-action-ref name="error"></default-action-ref> <action name="error"> <result >/error.jsp</result> </action>你这里设的默认的就是错误的页面
2016-07-10
最赞回答 / 翛欣
action 节点没有配置class属性,struts框架应该会自动创建ActionSupport的一个实例。。。默认执行ActionSupport的execute方法(不重写的话,默认返回SUCCESS)
2016-06-12