A report is generated as a PDF by default. The service also supports HTML and Excel output. To specify a different format, add a type parameter to the HTTP request. HTML output can be requested by adding a 'type=html' parameter to the URL:
http://localhost/servlet/PDFService?templateFile=report1.srt&type=html
If the report is large and HTML output is desired, it is possible to avoid generating one large HTML page for the entire report. Instead, the generated HTML file can be broken up into pages and viewed one page at a time. To do so, specify the 'page' parameter to be a valid page number of the generated HTML file.
http://localhost/servlet/ PDFService?templateFile=report1.srt&type=html&page=2
Copyright © 2024, InetSoft Technology Corp.