I need to export a report to a simple html file without viewing jasper reports.
If I do &output=pdf in the url, I get the pdf file, &output=xls , the xls file, but &output=html will show html inside the jasper report window. Also need an html file.
How can i achieve this? I am using http api.
From the documentation
The following example executes the same report as in the previous section, but also passes 4012 as an input control parameter and exports to PDF instead of HTML:
http://<host>:<port>/<context>/flow.html?_flowId=viewReportFlow&reportUnit= /supermart/Details/CustomerDashboard&customerID=4012&output=pdf
How to export JasperReport to HTML?
A related question, however, does not help me.
source share