HTTP Status 404 - There is no Action mapped for namespace [/] and action name [result] associated wi

来源:互联网 发布:苹果站电影源码 编辑:程序博客网 时间:2024/05/17 01:50

   编写的时候遇到HTTP Status 404 - There is no Action mapped for namespace [/] and action name [result] associated with context path [/BigProjectForCalculation].的问题,查了一下网上说可能是struts.xml的位置存放有问题,我开始是直接放在了项目下的WEB-INF文件夹下,出现了上述问题。解决办法是struts.xml应该放在eclipse下的src目录下,我是直接在WEB-INF下建了一个classes文件夹,把struts.xml再移到该文件夹下就可以了。


0 0
原创粉丝点击