如何通过BIRT中的URL传递输入参数? [英] How to Pass Input Parameters by URL in BIRT?
问题描述
我是BIRT报告的新手.在我的BIRT报告中,我有两个输入参数.我想通过查询字符串(在URL中)将这两个输入参数传递给服务器.
I am new to BIRT reporting. In my BIRT report I have two input parameters. I want to pass these two input parameters to the server through the query string (in the URL).
我该怎么做?
推荐答案
如果问题只是获得正确的URL,则类似于:
If the problem is just get the right URL, this would be something like:
您的服务器/您的Birt_app/运行?__ report = ReportName.rptdesign& Name_Parameter1 = Value1& Name_Paremeter2 = Value2".
"YOUR_SERVER/your_birt_app/run?__report=ReportName.rptdesign&Name_Parameter1=Value1&Name_Paremeter2=Value2".
运行"方法是BIRT Viewer Servlet中映射的方法之一.还有两个:框架集"和预览".
The "run" method is one of the methods mapped in the BIRT Viewer Servlet. There are two others: "frameset" and "preview".
您可以在以下位置查看这些信息: http://www.eclipse .org/birt/phoenix/deploy/viewerUsage2.2.php
You can check these informations in: http://www.eclipse.org/birt/phoenix/deploy/viewerUsage2.2.php
这篇关于如何通过BIRT中的URL传递输入参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!