I'm just setup the JasperServer 5.6.0 (community version) in a testing machine. It is planed to be a report-provider for a web-service.
In my web-service, I'm tyring to show a report in iframe with url "http://localhost:8080/jasperserver/rest_v2/reports/myreport.html?param_t...". The report has been generated successfully, but firefox popup the download dialog box instead of showing in iframe.
After checking, it is because the jasperserver embed the belows statement in HTTP-Header:
Content-Disposition: attachment; filename="myreport.html"
My question is: How can I showing the report in the iframe instead of downloading. Can above header can removed by parameter?
That's a property of a web browser and not JasperReports setting. Check the following page at Firefox stie on how to view pdf inline.