[英]JasperReports Server: How to export report as html file using url
我需要將報告導出到普通的html文件而不使用jasper報告的視口。
如果我在url中&output=pdf
,我得到一個pdf文件, &output=xls
,一個xls文件,但是&output=html
將在jasper報告的視口中顯示html。 我也想要一個html文件。
我怎樣才能實現這一目標? 我正在使用http api。
從文檔
以下示例執行與上一節中顯示的相同的報表,但也將4012作為輸入控件參數傳遞並導出為PDF而不是HTML:
http://<host>:<port>/<context>/flow.html?_flowId=viewReportFlow&reportUnit=
/supermart/Details/CustomerDashboard&customerID=4012&output=pdf
相關問題,但對我沒有幫助。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.