【问题标题】:Embed BIRT Report Viewer inside the html page在 html 页面中嵌入 BIRT Report Viewer
【发布时间】:2014-06-10 07:18:01
【问题描述】:

我在不同的页面中有一些 BIRT 报告(它似乎在 xml 中)。我对 BIRT 也很陌生。

我可以在 HTML 中嵌入 BIRT 报告吗?

【问题讨论】:

  • 您与“一些 BIRT 报告在不同页面中”的相关声明。我假设您想从您的 Web 应用程序在当前窗口中打开您的报告?这是可以做到的。

标签: html birt


【解决方案1】:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"  pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/birt.tld" prefix="birt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <title>My Report - JSP</title>
    </head>
    <body>
        <birt:viewer
        id="birtViewer"
        reportDesign="SD.rptdesign"
        pattern="frameset"
        height="800"
        width="775"
        isHostPage="false"
        frameborder="0"
        scrolling="false"
        style="border-radius:25px; border:3px solid silver"
        format="html">
        </birt:viewer>
    </body>
</html>

我已经通过这样做解决了......

【讨论】:

  • 如果我想将 birt 查看器集成到只能编写 JavaScript 代码的纯 HTML 页面中怎么办?
猜你喜欢
  • 2020-12-05
  • 2016-05-06
  • 2011-02-15
  • 2015-03-24
  • 2015-11-09
  • 2019-05-13
  • 2020-11-25
  • 2015-09-05
相关资源
最近更新 更多