【问题标题】:iFrames Vs Web Services for embedding Jasper Reports用于嵌入 Jasper 报告的 iFrames 与 Web 服务
【发布时间】:2013-10-31 15:05:13
【问题描述】:

我正在为 jasper 服务器使用社区版 5.2,并希望将报告嵌入到我的 Web 应用程序中。考虑到我将使用社区版提供的功能,有什么更好的方法来实现这一点。

由于社区版是非交互式的,我不想让客户看到报告存储库,但希望他们能够查看报告、过滤报告和下载报告。

【问题讨论】:

    标签: web-services iframe jasperserver


    【解决方案1】:

    如果你使用 PHP,你可以使用:http://community.jaspersoft.com/project/php-client 运行/获取报告。
    我会怎么做:

    View a report: Run report with html output -> save output to /tmp/abcd/ -> embedd it into your webapp.
    


    Download: Run report with pdf output, save it to /tmp/abce/ -> provide it as download
    


    Filter: List all items in a sudirectory -> Filter it with php / JavaScript
    

    如果您刚刚获得预编译报告。事情变得更容易了。

    【讨论】:

      猜你喜欢
      • 2015-12-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多