Hi,
I am new to BIRT. I am trying to run a BIRT report using JSP. When i call the jsp i get an exception error.
org.xml.SAXParseExcption: Premature end of file
The code for JSP page is given below. The report has a parameter which i need the user to input. Kindly let me know if there is any better way to do the same.
<%@ page language=”java” contentType=”text/html; charset=ISO-8859-1″
pageEncoding=”ISO-8859-1″%>
<%@ taglib uri=”/WEB-INF/tlds/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>Insert title here</title>
</head>
<body>
<birt:viewer id=”ReportView”
reportDesign=”list.rptdesign”
height=”800″
width=”600″
format=”html”
isHostPage=”true”
showParameterPage=”true”>
</birt:viewer>
</body>
</html>