struts2 jquery json There is no Action mapped for namespace ezmorph.jar
我在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
页:
[1]