2001 JI Open Discussion Posted August 21, 2006 Share Posted August 21, 2006 By: karthika - karthika image 2004-05-19 02:23I did nt use any image in myreport.But the html view does not show perfectly.what wrong i made with it By: newbieAndreas - andreas_siebold RE: image 2005-03-11 04:24To show the html's correctly you need the little"px"file. Look in your html code, where the image "px" should be used for keeping the reports design. (In the code is it's path) Then check the path to px. If it is not there, there's your problem. Tell Jasper to put it there, Example: exporter.setParameter(JRHtmlExporterParameter.IMAGES_DIR, "here your path"); perhabs you will need this to: exporter.setParameter(JRHtmlExporterParameter.IS_OUTPUT_IMAGES_TO_DIR, Boolean.TRUE); or copy it manually to a folder and tell jasper to take it from there. Example: you copy px in defaultroot/images exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, "images\"); Greetz... 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