Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用以下场景生成 pdf 格式的报告:
Jasper 报告在 jasper 服务器中,我想通过向另一台服务器传递参数来获取该报告。这里发生的主要问题是我无法传递参数。
语言是php。
php
您可以通过PHP调用JR Server的 Web 服务。
这篇文章是关于如何从PHP调用 web 服务。
这个wiki 页面和这个文档是关于JasperReports Server Web Services的。
如果您已安装JR Server<js-install>/samples/php-sample ,您可以在文件夹中找到示例。
<js-install>/samples/php-sample