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

aziziyazit

Members
  • Posts

    4
  • 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 aziziyazit

  1. @Lucian Thanks for the quick reply. My problem has been solved. It appeared blank because wrong input in parameter inside iReport. If I am wrong, please correct me. If report appear blank it's because wrong user input or input from user is not suit with query? I have do googling a lots, and I found that, if we want generate a chart image, we better use JFreeChart through java code. And if we want report contains chart, we can use jasper report through iReport. Azizi Yazit.
  2. Well..Same as my problem.. For me, this problem is quiet annoying because, there is no example how to run *.jasper that contained chart. Google also can't help to find any idea or solution. If anyone can't give an example, feel free to give any links related.
  3. Hello guys! I am in the urgent situation here. I have designed and compile my chartExample.jrxml to chartExample.jasper. However when I run the jasper through my webapp it just display a blank/empty pdf file. - I can display the *.txt, *.rtf and *.pdf however when run chartExample that contain chart, it appeared blank. Azizi Yazit Code:...else if(formBean.getFmt().equals("chartP")){ response.setContentType("application/pdf"); response.addHeader("Content-disposition", "attachment; filename=" + filename.toString() + ".pdf"); try{ JasperReport jasperReport = (JasperReport)JRLoader.loadObject(getClass().getClassLoader().getResourceAsStream(reportName)); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, HibernateUtil.currentSession().connection()); JasperExportManager.exportReportToPdfStream(jasperPrint, response.getOutputStream()); } catch (JRException e) { e.printStackTrace(); } }
×
×
  • Create New...