GOOGLE后,知道产生这问题的原因有:
1.struts2的配置文件没有放在src目录下(其实是没有放在/WEB-INF/classes/目录下),
2.struts2中配置的package标签的namespace属性配置有误
3.页面调用Action的方式有错
但我这次产生这错误都不是上面的原因.
因为我是使用ajax方式提交,所以package扩展于json-default,其它配置(略),
检查配置都没有问题,检查调用方式也没问题,最后想想好像JSON for struts2的插件JAR包还没加上,找到对应STRUTS2相应版本的struts-json-plugin-xxx.jar,加入到应用,问题解决.
最后,加入最后一个导致如题的问题原因:
4.没有加入json对应的插件JAR包
转载http://blog.csdn.net/qwerasdf123/archive/2010/08/19/5823846.aspx
分享到:
相关推荐
前几天在网上下载一个struts2的helloword的例子,那个作者也真够缺德的,搞个错误的程序,害得我查了一天的程序错误。 最后发现竟然是struts.xml被写成啦sturts.xml。 碰见这样的问题先鄙视下提供例子的作者, ...
在Web开发中,尤其是使用基于Java的Web框架如Struts时,开发者可能会遇到一个常见的问题:“HTTP Status 404 - There is no Action mapped for namespace and action name BackMemberGroupAudit”。这个问题通常出现...
FNT -- OpenGL texture-mapped font Library. PW -- A minimalist windowing library. PSL -- A C-like scripting language. SSG -- A Simple Scene Graph API built on top of OpenGL. NET -- Some Networking ...
SLF4J(Simple Logging Facade for Java)是Java日志框架的一个接口层,它为各种日志实现提供了一个统一的API。SLF4J的主要目的是允许开发人员在部署时插入所需的日志库,而无需修改代码。"slf4j.api-1.6.1.jar" ...
Mapped Input/Output Operations 3.6.3 Memory Mapped I/O 3.6.4 DMA Exercises 3.6.5 Interrupt Driven I/O Exercises 3.6.6 Machine Language Programming & Instruction Encoding Exercises 3.6.7...
--------------------------------------------------------------------------------...Map with errors mapped from fieldname (String) to Collection of String error messages ---------------------------------...
@ManyToMany(mappedBy = "users") private Set<Role> roles; } @Entity @Table(name = "roles") public class Role { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @...
Blast2KEGG提供了一种方法,可通过其注释将预测的基因映射至途径,然后在KEGG图上进行绘制。 它执行从酶名称到EC号的模糊匹配。 此应用程序中集成了注释编辑器和基因组浏览器。
Returns the servlet container attribute with the given name, or null if there is no attribute by that name. getAttribute(String) - Method in class javax.servlet.ServletRequestWrapper The default ...
7)....Fixed: "Ask for steps to reproduce" dialog is now DPI-aware 8)....Fixed: Silently ignore and fix invalid values in project options EurekaLog 7.2 Hotfix 2 (7.2.2.0), 30-April-2015 1)....Fixed: ...
leetcode伪代码unique-morse-code-...[".-","-...","-.-.","-..",".","..-.","--.","....", "..",".---","-.-",".-..","--","-.","---",".--.","- -.-",".-.","...","-","..-","...-",".--","-..-","-. --","--.."]
- **Display Data GRAM Mapping**: Explains how the display data is mapped into the internal GRAM. - **Address Counter (AC) of GRAM**: Describes the mechanism for addressing the GRAM, including system ...
- **Hibernate Configuration**: You'll set up the `hibernate.cfg.xml` file, which contains essential configuration settings for Hibernate, including database connection details and the location of ...
librockchip_mpp.so librockchip_mpp.so.0 librockchip_mpp.so.1 librockchip_vpu.so librockchip_vpu.so.0 librockchip_vpu.so.1rockchip\vpu_api.hrockchip\mpp_buffer.hrockchip\mpp_compat.hrockchip\mpp_err....
Recall that there are two options for timeseries2symbol. The first option is demonstrated in sax_demo.m Now here is an example of the latter. We are going to convert time series of length 50, with a...
- **GRAM to Display Address Mapping**: Explains how the pixel data is mapped from the GRAM to the display. #### 7. Functional Description The functional description provides detailed insights into ...
"There is no Action mapped for namespace and action name错误的解决方法.txt"文档可能详细解释了这个问题的成因,如配置错误、Action类未正确指定、或者struts.properties或struts.xml配置文件中的条目缺失。...