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.