Embed BIRT Report Viewer inside the html page

2019-09-17 08:25发布

问题:

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

Can I able to embed BIRT Reports in HTML?

回答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>

I have solved by doing like this...



标签: html birt