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

建立一个struts2+hibernate+spring的demo,结果发现输入:http://localhost:端口号/项目名称/ 后,页面报:HTTP Status 404 - There is no Action mapped for namespace / and action name .,刚开始以为是 web.xml中的welcome-file-list的元素没起作用,后来经过测试,发现不是这个原因,,当时的struts2 的filter配置如下:

后来,发现,把/*--->*.action,问题就解决了,不过郁闷的是,*.action---再改回--->/*   也不会出错了,郁闷呀

posted on 2013-09-13 17:02  天神Deity  阅读(151)  评论(0编辑  收藏  举报

导航