Struts2中关于"There is no Action mapped for namespace / and action name"的总结
来源:互联网 发布:萨德部署完成 知乎 编辑:程序博客网 时间:2024/05/21 08:52
一、struts.xml文件错误。这种错误又分为以下几种:
1,struts.xml文件名错误。一定要注意拼写问题;
2,struts.xml文件放置路径错误。一定要将此文件放置在src目录下。编译成功后,要确认是否编译到classes目录中;
3,struts.xml文件内容错误。下面给出一个正确的struts.xml文件以供参考。注意背景色部分。如果排除了struts.xml文件的问题,还有一种可能就是,在web.xml文件中的<welcome-file>信息中是否配置了自己工程的启动页面。如果没有配置,地址栏中要输入完成的url,如:http://localhost:8080/Struts2Sample/jsp/login.jsp,
4 还有一种可能是,web中配置类<welcome-file>信息中是否配置了自己工程的启动页面,但是没有login.jsp中这个页面。
0 0
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Fresco-引入篇
- DGP几何处理框架使用
- git提示error setting certificate verify locations解决办法
- linux软件仓库搭建——搭建yum源以及第三方软件仓库
- dfloy发布过程
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- php实现双向队列
- android工程师面试人资问题
- codeforces 364 div2 D As Fast As Possible
- 《Git和SVN之间的五个基本区别》
- UVA 11426GCD - Extreme (II)
- 王爽《汇编语言》实验10.1——显示字符串
- linux学习路线
- 一个java文件夹比较的小程序