HTTP Status 404 - /hr/hr/LeaveOfficeAction
type Status report
message /hr/hr/LeaveOfficeAction
description The requested resource (/hr/hr/LeaveOfficeAction) is not available.
Apache Tomcat/6.0.14
Jsp页面中的action设置是:action="<%=basePath%>hr/LeaveOfficeAction?method=selectUser">
找了很久都没发现,后来静下心来一看,原来是没有写do
把上面的配置改成action="<%=basePath%>hr/LeaveOfficeAction.do?method=selectUser">
问题迎刃而解!
解决HTTP 404错误
本文介绍了一种常见的HTTP 404错误——资源不可用的问题及其解决方案。通过检查和修正JSP页面中Action路径缺少“.do”的情况,成功解决了资源无法访问的问题。
1万+

被折叠的 条评论
为什么被折叠?



