运行struts2项目报错:报错1:11:56:51,400 WARN Dispatcher:68 - Could not find action or result: /credit_publicity/sydq/loginSydqAction!sydq.dhtmlThere is no Action mapped for action name loginSydqAction. - [unknown location]在tomcat下运行正常解决办法:struts.xml中<include…
在Struts2项目中使用Ajax向后台请求数据,当添加了json-lib-2.3-jdk15.jar和struts2-json-plugin-2.3.4.1.jar两个包时,在result中配置type时还会报There is no result type defined for type 'json' mapped with name 'testAjax',其中testAjax是我的Action返回值,我解决这个问题是修改了struts2配置文件的继承,修改extends="struts-d…