2005 IR Help Posted August 27, 2006 Share Posted August 27, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now