jasper使用HTML格式报告 [英] jasper reports with HTML Format

查看:100
本文介绍了jasper使用HTML格式报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用带有GWT应用程序的jasper报告库。

Am using jasper reports library with GWT application.

报告使用CSV格式生成,但使用HTML格式生成带有缺失图片图标的HTML页面。

The reports is generated well with CSV format but with HTML format it generate the HTML page with icons of missing picture.

我知道碧玉使用透明图像称为PX,此图片未找到。

I know that jasper using transparent image called "PX", this image not found.

我该如何解决这个问题?

How can i solve this problem?

提前致谢

推荐答案

尝试将图片作为参数传递给报告,以便赢得'我不得不担心图像路径。

Try passing in your image as a parameter to the report so you won't have to worry about image paths.

您可以将参数的类型设置为BufferedImage或任何适合的图像类。

You can set the type of the parameter as a BufferedImage or whatever image class suits.

这篇关于jasper使用HTML格式报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆