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