java.lang.ClassCastException: java.lang.OutOfMemoryError cannot be cast to java.lang.Exception [message #876171] |
Wed, 23 May 2012 23:44  |
Eclipse User |
|
|
|
Hello
I'm using birt 2.3.2,tomcat6.0, jdk1.6.
when i include the same report into one jsp file, i always get follow exception :
java.lang.ClassCastException: java.lang.OutOfMemoryError cannot be cast to java.lang.Exception
jsp file :
<body>
<iframe width="900" height="200" src="curalarmevent.jsp">
</iframe>
<iframe width="900" height="200" src="curalarmevent.jsp">
</iframe>
</body>
curalarmevent.jsp:
<%@page import="java.net.URLDecoder"%>
<%@ taglib uri="/birt.tld" prefix="birt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>MyEclipse Sample Report Access Webpage</title>
</head>
<body>
<!-- <a href="<%= path + "/frameset?__report=reports/curalarmevent.rptdesign&__format=HTML" %>">View Report (reports/alarmquery.rptdesign)</a>-->
<birt:viewer id="birtViewer" reportDesign="reports/curalarmevent.rptdesign"
pattern="frameset"
format="HTML"
isHostPage="true"
showNavigationBar="true"
showToolBar="true">
</birt:viewer>
</body>
</html>
Thank you.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.32063 seconds