[英]grails jasper plugin report pdf display
I am using the grails jasper plugin to generate reports in my grails application. 我正在使用grails jasper插件在我的grails应用程序中生成报告。 It works fine but it offers the pdf report as a download, is there a way to display the report in the browser, lets say on another tab. 它工作正常但它提供pdf报告作为下载,有没有办法在浏览器中显示报告,让我们说在另一个选项卡上。
this is the code to display the report. 这是显示报告的代码。
<g:jasperReport jasper="myreport" format="PDF" name="MY Report" />
你可以使用inline="true"
,比如
< g:jasperReport jasper="myreport" inline="true" format="PDF" name="MY Report" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.