Blank PDF even with the simplest Jasperreport jrxml

后端 未结 3 773
予麋鹿
予麋鹿 2020-11-27 18:41

i have a EJB site with glassfish 3.1 + JSF for jasperreport 4.0.1. the site has no problem on streaming pdf, but it products blank PDF while printing PDF with runReportToPd

3条回答
  •  失恋的感觉
    2020-11-27 19:03

    When you are not using the details band, just static values, you can do the following:

    Right click in the iReport project, then select 'Properties', search for the property 'When no Data', and select 'All Sections, No Detail'

    It works for me, using iReport 4.0

提交回复
热议问题