When using the web services to generate a report, when you choose the output to be HTML you have an option to use pagination. But there is no way to find out the total number of pages that the report has.
* In the SOAP response add number of pages to the response.
* Have a separate web service call to determine the number of pages a report has.
Related to a post on the forum:
This forum discussion has a solution to the problem, can't this be incorporated into JasperServer???