I am generating my report on server side (not JasperReports Server it is different). When I add subreport server can't find path to subreport. My main report in "reports" directory and I created new directory in "reports" which is "/subreports", so the path to subreport is "reports/subreports/report_1". In XML file I set this path
<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["/subreports/"]]></defaultValueExpression>
</parameter>
and on path property of subreport I set $P{SUBREPORT_DIR} + "subreport"
what would be the problem with this?