【发布时间】:2014-06-10 07:18:01
【问题描述】:
我在不同的页面中有一些 BIRT 报告(它似乎在 xml 中)。我对 BIRT 也很陌生。
我可以在 HTML 中嵌入 BIRT 报告吗?
【问题讨论】:
-
您与“一些 BIRT 报告在不同页面中”的相关声明。我假设您想从您的 Web 应用程序在当前窗口中打开您的报告?这是可以做到的。
我在不同的页面中有一些 BIRT 报告(它似乎在 xml 中)。我对 BIRT 也很陌生。
我可以在 HTML 中嵌入 BIRT 报告吗?
【问题讨论】:
<%@ 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>
我已经通过这样做解决了......
【讨论】: