JASPERReport 输出html没有线条问题

http://blog.csdn.net/mr_von/article/details/2977164

这位哥哥说到点子上了

输出HTML要用PX图片,而PX图片内置在jasperreports包中

 

 

在web.xml要加一个servlet

由于我的项目是REST,我的解决方法

 exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, request.getContextPath() + "/servlets/image?image=");//

IE输出如下,FF只输出成HTML,不知原因

 

你可能感兴趣的:(html,servlet,REST)