在应用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映射错误,通过加入struts2-json-plugin解决了'there is no result type defined for type'json' mapped with name'success'的问题。
在应用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,不再出错。
4698
1774
3936
1385
1978
2931
4761
649

被折叠的 条评论
为什么被折叠?