将BIRT报告查看器嵌入html页面 [英] Embed BIRT Report Viewer inside the html page

查看:231
本文介绍了将BIRT报告查看器嵌入html页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在不同的页面中有一些BIRT报告(似乎在xml中).我在BIRT中也很新.

I have some BIRT Reports in different pages(it seems in xml). I am also very new in the BIRT.

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

Can I able to embed BIRT Reports in HTML?

推荐答案

<%@ 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报告查看器嵌入html页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆