net.sf.jasperreport.engine.jrexception:invalid page index range: 0 --1 of 0
net.sf.jasperreports.engine.JRException
Because your database return the empty result and jasper try to display one page.
there are two solutions to solve this problem.
1. detect your empty data before use jasper print.
2. Confix the page in jasper code witch I can't remember what code it is but it's in the example that jasper report has given to us
net.sf.jasperreports.engine.JRException
Because your database return the empty result and jasper try to display one page.
there are two solutions to solve this problem.
1. detect your empty data before use jasper print.
2. Confix the page in jasper code witch I can't remember what code it is but it's in the example that jasper report has given to us