简体   繁体   English

通过网络访问碧玉报告

[英]Accessing jasper reports through the web

i know that this is a trivial question but this is the best place to ask it. 我知道这是一个琐碎的问题,但这是问这个问题的最佳地点。 I have a database which is hosted on a website. 我有一个托管在网站上的数据库。 I have written a Java program that accesses the database and through this program the user can view reports. 我已经编写了一个访问数据库的Java程序,并且用户可以通过该程序查看报告。 I used Jasper Reports for this. 我为此使用了Jasper Reports。 Now i have a website where the user can log in and would like the user to be able to view the exact same reports but through my website. 现在我有了一个用户可以登录的网站,希望用户可以通过我的网站查看完全相同的报告。 In other words, what is the equivalent of Jasper Reports for a web page? 换句话说,网页的Jasper报告相当于什么? I know that there is something called JasperReports Server but Im not sure if that is what i am looking for and how is it possible to incorporate into into my html/php site. 我知道有一个叫做JasperReports Server的东西,但是我不确定这是否是我在寻找的东西,以及如何将其合并到我的html / php网站中。 Can someone please direct me to the right place? 有人可以将我定向到正确的地方吗? Thanks. 谢谢。

You can display Jasper reports using any of the following approaches: 您可以使用以下任何一种方法来显示Jasper报告:

  • Publish JRXML reports into Jasper server and embed Jasper server into your application using IFrame. 将JRXML报告发布到Jasper服务器中,并使用IFrame将Jasper服务器嵌入到您的应用程序中。
  • Publish JRXML reports into Jasper server and call those reports in your application using Soap or Restful web services. 将JRXML报告发布到Jasper服务器中,并使用Soap或Restful Web服务在应用程序中调用这些报告。
  • Use Jasper API to display jasper reports directly in your application. 使用Jasper API在您的应用程序中直接显示jasper报告。 Refer Jasper reports for Java tutorials for more info. 有关更多信息,请参阅Java教程的Jasper报告。

Thanks, 谢谢,

Srikanth Kattam 斯里坎特·卡塔姆(Srikanth Kattam)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM