在struts2中继承使用validate方法后在浏览器页面出现报404错误No result defined for action action.UserAction and result input。查了网上的资料发现需要在struts.xml中加上<result name="input">跳转的路径即jsp页面路径</result>就可以解决了,重启服务器便可。
在struts2中继承使用validate方法后在浏览器页面出现报404错误No result defined for action action.UserAction and result input。查了网上的资料发现需要在struts.xml中加上跳转的路径即jsp页面路径就可以解决了,重启服务器便可。