i have created a report that call it from a jsp file, it is workingproperly till i add a subreport! i get this error:Could not load object from locationhow should i address the subreport .jasper file or any other solution?
You should write complete path for jasper file in its parent. like this:<subreportExpression class="java.lang.String"><![CDATA[$P{realPath} +"\\Header.jasper"]]></subreportExpression>
Thanks for your information,it has been resolved.