![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iReport pdf
文章平均质量分 72
执子_之手
这个作者很懒,什么都没留下…
展开
-
iReport+java导出pdf/byte[]
1.所需jar包,见附件 asm-3.1.jar,commons-collections-2.1.1.jar, commons-digester-2.1.jar, commons-logging-1.0.4.jar groovy-1.8.3.jar, itext-2.1.7.jar, jasperreports-3.7.0.jar 2.代码 public static voi...原创 2013-10-24 11:37:05 · 231 阅读 · 0 评论 -
iReport+java导出pdf/byte[]
public static void exportPdf(String sourcePath, String targetPath,Map<String, Object> map) { JasperReport report = null; JasperPrint jasperPrint = null; JRDataSource dataSource = new JREmptyDataSource(); File file = new File(sou原创 2013-10-24 11:37:05 · 77 阅读 · 0 评论