出现的错误如下:
There is no result type defined for type 'jasper' mapped with name 'success'...
原因:
缺少struts2中的包,请导入:struts2-jasperreports-plugin-2.1.6.jar ,就OK了!
struts2+jasperReport 一般报表常用到的包,如下:
1. struts2-jasperreports-plugin-2.1.6.jar
2. jasperreports-4.0.1.jar
3. iTextAsian.jar
4. iText-2.1.7.jar
5. poi-3.6.jar 以Excel形式导出