Jsp passing parameter to jrxml show pdf have some problem

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

I want pass parameter to jrxml

when I pass to , I alway get empty pdf.

and haven't any error message

So I don't know where have problem and how to fix it

But if  I don't pass after  and use sql command  it's can work

I guess maybe is pass to jrxml after sql research conditon have error.

it's my show.jsp

Map Parameter = new HashMap();  
JasperReport jasperReport = JasperCompileManager.compileReport(input);
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, Parameter, conn);
and this my jrxml
<parameter name="ID" class="java.lang.String" ></parameter>
<![CDATA[select * from person where ID = '$P!{ID}']]>
free576002's picture
Joined: Jan 11 2016 - 9:04pm
Last seen: 6 years 2 months ago

0 Answers:

No answers yet