<pre class="_prettyXprint _lang-js"><%@ taglib uri="WEB-INF/tlds/birt.tld" prefix="birt" %><!-- <%
@page import="java.util.Date"%><%
@page import="java.util.Calendar"%>--><%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%><jsp:useBean id="q_head" class="com.db.Queries" scope="session"/> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--><!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--><!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--><!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]--><head> <title></title> <meta charset="utf-8" /> <meta name="description" content="" /> <meta name="author" content="" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!--[if gte IE 9]> <link rel="stylesheet" href="stylesheets/ie9.css" type="text/css" /> <![endif]--> <!--[if gte IE 8]> <link rel="stylesheet" href="stylesheets/ie8.css" type="text/css" /> <![endif]--> <% //String REPORT_NAME = (String) request.getParameter("rpt_nm"); String REPORT_NAME = "rw_acmst_cust.rptdesign"; System.out.print("Report_nm : " + REPORT_NAME); %> <birt:viewer id="birtViewer" reportDesign=<%=REPORT_NAME%> pattern="frameset" height="800" width="775" format="html" isHostPage="false" frameborder="0" scrolling="false" style="border-radius:25px; border:3px solid silver" showParameterPage="true" > <!--<birt:param name="param1" value=""></birt:param>--> </birt:viewer> </head><body> </body></html></pre><p> I am able to run the report from jsp by defining the report name explicitly .</p><p>but now i want to make it common so i need to pass the name of the report </p><p>which i had done as shown above and getting error</p><p><em><strong> <span class='bbc_underline'>/ReportDtl.jsp(47,17) quote symbol expected</span> </strong></em></p><p> </p><p> </p><p> </p>