首页 > 移动平台 > 详细

Struts2-tomcat报错:There is no Action mapped for namespace / and action

时间:2016-11-29 13:56:42      阅读:375      评论:0      收藏:0      [点我收藏+]

HTTP Status 404 - There is no Action mapped for namespace / and action name first.


type Status report

message There is no Action mapped for namespace / and action name first.

description The requested resource is not available.


Apache Tomcat/6.0.37

 

解决:

1.struts.xml文件名出现出错:如:sturts.xml拼写错误,struts2.xml理解错误;

2.struts.xml文件放置位置出错,应该放在src目录下;

3.struts.xml文件内容出错

Struts2-tomcat报错:There is no Action mapped for namespace / and action

原文:http://www.cnblogs.com/Hugooscar/p/6113047.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!