首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

There is no Action 地图ped for namespace /xxx and action name xxxAction

2012-11-05 
There is no Action mapped for namespace /xxx and action name xxxAction错误原因查找:1.?查看你的strut

There is no Action mapped for namespace /xxx and action name xxxAction

错误原因查找:

1.?查看你的struts.xml 文件是否在src目录下;

2. 查看你的struts.xml语法是否正确;

3. 确认一下你是否在添加了<action><result></result></action>之后有没有重启tomcat,有没有重新build你的项目文件;(有可能是,你做的struts配置一个action之后,又去做了很久其他修改操作,忘记重启tomcat,当执行action的时候报这样的错误。)

4. 你的页面中的action可能需要添加namespace参数;

热点排行