<p>Hi BIRT,</p>
<p> </p>
<p>I am confusing about how to send value to BIRT tags in JSP page . I understood that BIRT load reportDesign files according to configuration file (\WEB-INF\web.xml). But,in this way, the report design file folder is fixed.I want to use dynamic path in my jsp page instead of static path.</p>
<p>I have modified the sample code ,I can get current folder and current report design file when I click the folder name (or report design file name) .But, to be clear, I didn't copy whole the code hear .my code as follows :</p>
<p> </p>
<p><%@ page language="java" contentType="text/html; charset=ISO-8859-1"<br>
pageEncoding="ISO-8859-1"%><br>
<%@ taglib uri="/WEB-INF/tlds/birt.tld" prefix="birt" %><br>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<a data-ipb='nomediaparse' href='
http://www.w3.org/TR/html4/loose.dtd'>http://www.w3.org/TR/html4/loose.dtd"></a><br>
<html><br>
<head><br>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><br>
<title>PathFind Report Interface</title><br>
</head><br>
<body><br>
<birt:viewer id="birtViewer" baseURL="/brt-example" isHostPage="true"<br>
pattern="frameset"<br>
height="600"<br>
width="1340"<br>
format="html"<br>
title="PathFind Report Interface"<br>
reportDesign= design_file_path<br>
></birt:viewer><br>
</body></p>
<p><script type="text/javascript"></p>
<p> design_file_path = "C:/xampp/tomcat/webapps/brt-example/report/2015.12.22k/customers.rptdesign"</p>
<p> </p>
<p></script><br>
</html></p>
<p> </p>
<p>Can we use javascript variable in BIRT tags ?</p>
<p> </p>
<p>Thanks al ot in advance !</p>
<p> </p>
<p> </p>