我在struts2中用jquery来实现ajax校验,对应的struts.xml配置为
<package name="ajax" extends="json-default" namespace="/ajax">
<action name="contuser" class="contuserAjaxAction">
<result type="json">
<param name="root">result</param>
</result>
</action>
</package>
但是我调用的时候一直报错:
There is no Action mapped for namespace / and action name your actionname
这个提示太龌龊了!我一直以为我的配置出问题了, 搞了好半天真不知道哪儿的问题!
结果是没有导入ezmorph.jar包!
同时依赖于:
1.commons-lang.jar
2.commons-beanutils.jar
3.commons-collections.jar
4.commons-logging.jar
5.ezmorph.jar
6.json-lib-2.2.2-jdk15.jar
分享到:
相关推荐
前几天在网上下载一个struts2的helloword的例子,那个作者也真够缺德的,搞个错误的程序,害得我查了一天的程序错误。 最后发现竟然是struts.xml被写成啦sturts.xml。 碰见这样的问题先鄙视下提供例子的作者, 再...
HTTP Status 404 - There is no Action mapped for namespace and action name BackMemberGroupAudit..doc
该文档对weblogic使用过程中,包括下载,安装,部署...6. weblogic部署war包action不能访问问题解决方法 [There is no Action mapped for namespace / and action name]. 5 7. java.lang.StackOverflowError. 5 等等
http://localhost:8080/ struts2会拦截,出现异常信息 There is no Action mapped for namespace / and action name.默认配置的welcomefile没有起作用。 按附件配置即可解决此问题
在网上找了好个struts2的例子结果都不好使报There is no Action mapped for namespace / and action name这个错,没办法自己搞了个好用的,myeclipse 6.0 +tomcat5.5 + jdk 1.5 引入项目后直接发布就可以了!
存贮内存数据到文件里
lists 220 different (maintained) Linux distributions.2 The FOSS philosophy challenges the general accepted software development paradigms that are used by companies of today (Raymond, 1998). ...
The RealityEngineTM graphics system is the first of a new generation of systems designed primarily to render texture mapped, antialiased polygons. This paper describes the architecture of the ...
KEGG数据库的使用说明.pdf
Later is supported when map2dbg.exe tool is placed in \Bin folder of EurekaLog installation (separate download is required) 5)....Added: Exception2HRESULT in EAppDLL to simplify developing DLLs with ...
4. There is one rotating triangle floating in the air, casting a shadow on the table, walls and other objects. 5. The program allows the user to move the viewpoint and view direction.
/* It is no longer available */ current_location_mcb->is_available = 0; /* We own it */ memory_location = current_location; /* Leave the loop */ break; } } /* If we made...
There is no flow logic, no business logic, and no model information -- just tags. Tags are one of the things that make Struts unique compared to other frameworks like Velocity. Note: "Think thin" ...
Blast2KEGG提供了一种方法,可通过其注释将预测的基因映射至途径,然后在KEGG图上进行绘制。 它执行从酶名称到EC号的模糊匹配。 此应用程序中集成了注释编辑器和基因组浏览器。
mytabis 报错 Mapped Statements collection does not contain value for
Hooking into the Windows API is a complicated process and there are several techniques to achieve this.Microsoft recommends that the callback procedure for most hooks should reside within a DLL, this ...
Hooking into the Windows API is a complicated process and there are several techniques to achieve this.Microsoft recommends that the callback procedure for most hooks should reside within a DLL, this ...
A 32-bit process is normally limited to addressing 2 gigabytes (GB) of memory, or 3 GB if the system was booted using the /3G boot switch even if there is more physical memory available. By leveraging...
Two novel contributions to Content Based Image Retrieval are ...the high-dimensional feature space is mapped to a two-dimensional representa- tion, which can be reorganized into a grid-based display.
Copyright Praise for Visual Studio Tools for Office Microsoft .NET Development Series Titles in the Series About the Authors Foreword Preface Acknowledgments ...