How to display jasper report in web-page with parameter panel


I need to display the jasper report in webpage with parameter panel. I searched a lot of materials online, but they don't work to me. So, could anyone help me to display my report in web-page with parameter panel? the XML file for my report is as follow.

<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version using JasperReports Library version 6.1.0  -->
<!-- 2015-06-25T02:10:23 -->
<jasperReport xmlns="" xmlns:xsi="" xsi:schemaLocation="" name="Blank_A4_2" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="f63b2357-ec93-4888-9301-cc151fdd7756">
<property name="" value="NewDataAdapter "/>
<parameter name="startdate" class="java.sql.Date">
<parameterDescription><![CDATA[Please select start date]]></parameterDescription>
<parameter name="starttime" class="java.sql.Time">
<parameterDescription><![CDATA[Please select start time]]></parameterDescription>
<parameter name="enddate" class="java.sql.Date">
<parameterDescription><![CDATA[Please select end date]]></parameterDescription>
<parameter name="endtime" class="java.sql.Time">
<parameterDescription><![CDATA[Please select end time]]></parameterDescription>
<![CDATA[SELECT count(distinct ttc.vehicle_id) as vc,ttc.routeTag,ttc_routes.title,ttc.dateTime
FROM ttc
INNER JOIN ttc_routes ON ttc.routeTag = ttc_routes.routeTag
WHERE ttc.dateTime >= TIMESTAMP($P{startdate}, $P{starttime}) and ttc.dateTime <= TIMESTAMP($P{enddate}, $P{endtime})
GROUP BY ttc_routes.title
order by vc desc
limit 10]]>
<field name="vc" class="java.lang.Long"/>
<field name="routeTag" class="java.lang.String">
<field name="title" class="java.lang.String">
<field name="dateTime" class="java.sql.Timestamp">
<band splitType="Stretch"/>
<band height="252" splitType="Stretch">
<chart evaluationTime="Report">
<reportElement x="227" y="52" width="200" height="200" uuid="ba244296-4247-4400-b20b-110dc34fa405"/>
<seriesExpression><![CDATA["SERIES 1"]]></seriesExpression>
<band height="35" splitType="Stretch"/>
<band height="61" splitType="Stretch"/>
<band height="125" splitType="Stretch"/>
<band height="45" splitType="Stretch"/>
<band height="54" splitType="Stretch"/>
<band height="42" splitType="Stretch"/>
zsy2053's picture
Joined: May 20 2015 - 7:47am
Last seen: 5 years 1 week ago

Please help me

zsy2053 - 5 years 2 weeks ago

I am looking for a solution too. But there are two ways you can try doing this, if you want to customize the parameters in the embedded report then you need to use visualize and call the input controls.

Look for Creating input control widget in this page

Or else you can just embed dashboards directly.

noobtiger - 5 years 2 weeks ago

3 Answers:


Following page explains about input controls. Edit your report and go to "Resources", Check "Always Prompt"

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 3 weeks ago

hi, @hozawa. Thank you for your reply. But, I can't install the jasper server, the installation process is fine. But, when I try to open the webpage, it always show the following error.


Could you tell me how do I fix this problem?


zsy2053's picture
Joined: May 20 2015 - 7:47am
Last seen: 5 years 1 week ago

and this is the error in tomcat log file

zsy2053's picture
Joined: May 20 2015 - 7:47am
Last seen: 5 years 1 week ago