在应用jquery的jqgrid时,需要用到json,已经加入json-lib-2.1-jdk15.jar,但启动tomcat时总报错,还是出现标题所示的错误:
There is no result type defined for type 'json' mapped with name 'success'.
最后发现加入struts2-json-plugin-2.2.3.1.jar,不再出错。
在应用jquery的jqgrid时,需要用到json,已经加入json-lib-2.1-jdk15.jar,但启动tomcat时总报错,还是出现标题所示的错误:
There is no result type defined for type 'json' mapped with name 'success'.
最后发现加入struts2-json-plugin-2.2.3.1.jar,不再出错。