2013-10-24 38 views
1

我對jasper服務器使用社區版5.2,希望將報告嵌入到我的web應用程序中。考慮到我將使用社區版提供的功能,更好的方法是實現這一點。嵌入Jasper Reports的iFrames VS Web服務

由於社區版本是非交互式的,我不希望公開客戶端報告存儲庫,但希望他們能夠查看報告,篩選報告並下載它們。

回答

0

如果您使用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 

如果你剛剛預編譯的報告。事情變得更容易。