Jump to content
We've recently updated our Privacy Statement, available here ×

usuario13

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by usuario13

  1. Thank you. I also missed this: <parameter name="nomUsuari" isForPrompting="false" class="java.lang.String"/> :)
  2. I''ve got a servlet with this code: String user = request.getParameter("USER"); HashMap map = new HashMap(); map.put("nomUsuari",user); JasperPrint print = JasperFillManager.fillReport(report, map, conn); And a jrxml file with this: <queryString language="SQL"> <![CDATA[sELECT * FROM usuaris WHERE USER LIKE '$p{nomUsuari}']]> </queryString> And fields like this: <field name="USER" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> But as a result, i get an empty PDF document and no errors. I've got another servlet with the same code, but with a null HashMap, and a query string like "select * from table" and it works fine. What's the problem? Thanks
×
×
  • Create New...