Jump to content
We've recently updated our Privacy Statement, available here ×

Rpt exported to html doesnot display images


2005 IR Help

Recommended Posts

By: odc - sameena

Rpt exported to html doesnot display images

2004-10-31 20:36

i have a rpt that displays data along with images from the database.

iam exporting the rpt to html to be displayed on the browser .all data except the image is not getting displayed .the image area appears blank.

but the same works with pdf .

 

the image field in the jrxml is declared as java.io.InputStream

 

my code for exporting is :

 

JRHtmlExporter hexport = new JRHtmlExporter();

ByteArrayOutputStream htmlReport = new ByteArrayOutputStream();

hexport.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);

hexport.setParameter(JRExporterParameter.OUTPUT_STREAM, htmlReport);

hexport.exportReport();

 

 

do i need to set some extra parameters of JRHtmlExporterParameter or is there some other solution for this prob.

pls let me know.it's urgent

 

thanks

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...