`
nwsuafer
  • 浏览: 12445 次
  • 性别: Icon_minigender_1
  • 来自: 西安
文章分类
社区版块
存档分类
最新评论

Struts 1+Tomcat The requested resource (XXXAction) is not available.

 
阅读更多

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">

问题迎刃而解!

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics