struts2中的错误:There is no Action mapped for action name . - [unknown location]
来源:互联网 发布:淘宝君羊令页 编辑:程序博客网 时间:2024/05/01 01:18
There is no Action mapped for action name .XXX - [unknown location]
GOOGLE后,知道产生这问题的原因有:
1.struts2的配置文件没有放在src目录下,
2.struts2中配置的package标签的namespace属性配置有误
3.页面调用Action的方式有错
但我这次产生这错误都不是上面的原因.
因为我是使用ajax方式提交,所以package扩展于json-default,其它配置(略),
检查配置都没有问题,检查调用方式也没问题,最后想想好像JSON for struts2的插件JAR包还没加上,找到对应STRUTS2相应版本的struts-json-plugin-xxx.jar,加入到应用,问题解决.
最后,加入最后一个导致如题的问题原因:
4.没有加入json对应的插件JAR包
- struts2中的错误:There is no Action mapped for action name . - [unknown location]
- Struts2 找不到Action的问题:There is no Action mapped for action name XXXX. - [unknown location]
- 新手学习Struts2遇到的问题:There is no Action mapped for namespace / and action name . - [unknown location]
- There is no Action mapped for namespace / and action name . - [unknown location]
- There is no Action mapped for namespace / and action name AjaxServlet. - [unknown location]
- There is no Action mapped for namespace / and action name . - [unknown location] 其中一种解决方法
- 异常分析:There is no Action mapped for action name null. - [unknown location]
- There is no Action mapped for namespace / and action name . - [unknown location]
- There is no Action mapped for namespace / and action name . - [unknown location]问题
- There is no Action mapped for namespace / and action name . - [unknown location]
- 关于 “There is no Action mapped for namespace / and action name . - [unknown location]” 的解决方法
- There is no Action mapped for namespace / and action name ndex1. - [unknown location]
- struts中There is no Action mapped for action name qqq. - [unknown location]
- Struts常见异常解答:There is no Action mapped for namespace / and action name . - [unknown location]
- There is no Action mapped for namespace / and action name login. - [unknown location]
- SSM整合 错误收集之 There is no Action mapped for namespace / and action[unknown location]
- struts2中的There is no Action mapped for namespace [/] 错误
- Could not find action or result,There is no Action mapped for namespace / and action name hello_struts. - [unknown location]
- Eclipse 中 drop to frame 的调试技巧
- 正则表达式概述
- c#中JavaScript与后台代码的相互调
- DataSet到XML的转换函数
- Ajax的同步调用场景——使用同步Ajax在 onunload 事件时通知服务器
- struts2中的错误:There is no Action mapped for action name . - [unknown location]
- linphone编译移植的建议
- 静态页中利用AJAX.NET实现无刷新页面 (一)
- Vim学习----第02章 Vim第一步
- C# DES加密字符串加密类模块
- 徐家骏:我在华为工作十年的感悟
- Tomcat无法正常关闭
- Ajax 同源策略限制的简单说明
- 静态页中利用AJAX.NET实现无刷新页面(二)