This is related to JasperReport which i am using to generate a PDF in my JAVA class.
I am using iReport ver 1.3 to design the PDF and generate the JRXML which inturn is used in the Java class to generate PDF.
In my PDF layout , there is a PAGE HEADER band and PAGE FOOTER band which is to be displayed in every page.
There is a LAST PAGE FOOTER band which is to be displayed in the last page of the pdf.
Whenever the PDF is generated from Java using JasperReports with the last page containing only the SUMMARY band(no DETAILS displayed) , LAST PAGE FOOTER and PAGE HEADER bands are not getting displayed.
The same is getting displayed when a part of DETAIL band is present along with summary in the last page.
How can i fix this problem since LAST PAGE FOOTER and PAGE HEADER is kind of mandatory.