
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 · 284 阅读 · 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 · 115 阅读 · 0 评论