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

keogz

Members
  • Posts

    8
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by keogz

  1. i created a nullpx transparent gif and copied it into where the .jasper report is. and it still wont find it...i've tried to use that code you placed but that directory /address doesnt exist...the address is ../admin/report/nullpx.gif but how do i point it at there exactly? as you can see, i've tried it in the code but to no results... thats the last problem i've got...to show images in the HTML jasper report...all the nullpx's spacers wont show at all..and leaves the HTML page really bad looking...if you want to see other associated files, pls tell me i can upload it for you.... Post edited by: keogz, at: 2007/07/30 05:44
  2. here is the file... [file name=BaseReportAction.txt size=5792]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/BaseReportAction.txt[/file]
  3. i know this has been in alot of posts and i've been reading them and trying to add the necessary codes and parameters to my BaseReportAction.java for my jsp to HTML jasper report,but to no avail....attached here is the BaseReportAction.java (in txt format)...if anyone can pls help me asap..i've been pondering on this for a week now..i need help..i can see how its suppose to look like on iReport but not when i export it to my Web app using tomcat... Post edited by: keogz, at: 2007/07/27 08:53
  4. here it is....one of my reports.. [file name=New_Player_Report.jrxml size=17380]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/New_Player_Report.jrxml[/file]
  5. my BaseReportAction.java includes the ff lines: final JasperPrint jasperPrint = JasperFillManager.fillReport( jasperReport, parameters, getTransactionManager().getDataSource().getConnection() ); request.getSession() .setAttribute(ImageServlet.DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE, jasperPrint); final JRHtmlExporter exporter = new JRHtmlExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); final StringBuffer sbuffer = new StringBuffer(4096); exporter.setParameter(JRExporterParameter.OUTPUT_STRING_BUFFER, sbuffer); exporter.setParameter(JRHtmlExporterParameter.HTML_HEADER, ""); exporter.setParameter(JRHtmlExporterParameter.HTML_FOOTER, ""); exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, "../../servlets/image?image="); exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, false); exporter.exportReport(); //log.debug(sbuffer.toString()); request.setAttribute("reportHTML", sbuffer.toString()); } Post edited by: keogz, at: 2007/07/19 02:57
  6. thank you...but i've already added this line exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, false); to my BaseReportAction.java and tried to generate the html page again..unfortunately, it still wont recognize the spaces... need help pls..
  7. yes, i always create the jrxml file everytime in iReport..the thing is, i dont know how to configure the page to recognize the blank spaces as not a jpg to be displayed as html...could you help me with this?
  8. My Jasper reports were originally PDF's and now i need them to be in HTML... my problem would be that when i display/view the html, the spacings in blank areas show as jpg files that wont load. i need to dispaly the html properly. i know this seems easy to fix but im not to verse with jasper reports and would like to know how to fix this....i use .jasper files and have iReport 2.0...would appreciate it if someone could give me the best solution. thank you!
×
×
  • Create New...