There is no Action mapped for namespace / and action name
2011-03-30 14:11
441 查看
当用struts 开发的时候,经常遇到这样的错误,
Could not find action or result
There is no Action mapped for namespace / and action name 。
我也不例外。在这种错误下,一般都会找命名空间的问题,但是在检查一切配置都正确的情况下,很有可能是如下的错误,我就是。
当用myeclipse部署项目的时候,myeclipse会把struts.xml文件变为Struts.xml,以至于容器找不到action路径,而报如上的错误,所以如果发生这种错误,大家可以检查一下tomcat下项目中的struts.xml配置文件的书写问题。
很纠结的问题,目前没有找到为什么myeclipse会发生这种错误。
Could not find action or result
There is no Action mapped for namespace / and action name 。
我也不例外。在这种错误下,一般都会找命名空间的问题,但是在检查一切配置都正确的情况下,很有可能是如下的错误,我就是。
当用myeclipse部署项目的时候,myeclipse会把struts.xml文件变为Struts.xml,以至于容器找不到action路径,而报如上的错误,所以如果发生这种错误,大家可以检查一下tomcat下项目中的struts.xml配置文件的书写问题。
很纠结的问题,目前没有找到为什么myeclipse会发生这种错误。
相关文章推荐
- Struts2中关于"There is no Action mapped for namespace / and action name"
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- SSH整合DWR时报HTTP Status 404 - There is no Action mapped for namespace / and action name dwr.
- 警告: Could not find action or result There is no Action mapped for namespace / and action name
- There is no Action mapped for namespace / and action name .
- weblogic部署war包action不能访问问题解决方法 [There is no Action mapped for namespace / and action name]
- There is no Action mapped for namespace [/] and action name
- 彻底解决STRUTS2 错误There is no Action mapped for namespace / and action name login
- Struts2:HTTP Status 404 - There is no Action mapped for namespace[ / ]and action name singleUpload.
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- 关于struts2总是报There is no Action mapped for namespace / and action name login错误的一点经验
- There is no Action mapped for namespace / and action name"的错误
- ssh整合DWR的时候报 HTTP Status 404 - There is no Action mapped for namespace / and action name bookInfo.
- SSH + Oracle 整合问题之六 There is no Action mapped for namespace / and action name open.
- Struts2学习之package name="struts2"对应谁--There is no Action mapped for namespace / and action name 异常
- There is no Action mapped for namespace / and action name
- There is no Action mapped for namespace / and action name . - [unknown location]
- Struts2中关于"There is no Action mapped for namespace / and action name"的错误解决
- There is no Action mapped for namespace / and action name toList.
- Struts常见异常解答:There is no Action mapped for namespace / and action name . - [unknown location]