How to check if it is an empty content while generating Jasper Report?
<p>I generate a PDF report in Jasper using <code>exporter.exportReport()</code>. </p>

<p>Finally I get a blank page. Is there any way to handle or check whether the report content is empty so that I'll write my logic accordingly.</p>

<p>Edit:
The report generation is done in Service. So finally I get a byte array in my local class. Is it possible to do the validation with the returned byte array?</p>