Struts 1+Tomcat The requested resource (XXXAction) is not available.
HTTP Status 404 - /hr/hr/LeaveOfficeActiontype 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">
问题迎刃而解!
页:
[1]