How to assign the birt report rptdesign file to jsp

自闭症网瘾萝莉.ら 提交于 2019-12-02 18:27:38

问题


I am completely new about BIRT Report. The report content's fetching the data from MySQL DB then generated '.rptdesign' file. I am able to generate '.rptdesign' file. Now I need to use '.rptdesign' file in JSP file. How to configure the '.rptdesign' in JSP and how to display report in JSP file.


回答1:


Assuming you have the BIRT runtime setup on a server somewhere you could use an iFrame to render the report within a JSP.

<iframe name="myReport" src="http://localhost:8080/birt/run?__report=test.rptdesign&amp;sample=my+parameter" />

If you don't have the BIRT runtime setup yet, this is a recent blog explaining steps you could take to get it set up.

Hope this helps



来源:https://stackoverflow.com/questions/28578243/how-to-assign-the-birt-report-rptdesign-file-to-jsp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!