Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

sub report issue

  Asked By: Jimmy    Date: Apr 30    Category: Java    Views: 917

i have created a report that call it from a jsp file, it is working
properly till i add a subreport! i get this error:

Could not load object from location

how should i address the subreport .jasper file or any other solution?



2 Answers Found

Answer #1    Answered By: Geraldine Perkins     Answered On: Apr 30

You should write complete path for jasper file  in its parent.
like this:
<subreportExpression class="java.lang.String">

<![CDATA[$P{realPath} +"\\Header.jasper"]]>


Answer #2    Answered By: Corey Jones     Answered On: Apr 30

Thanks for your information,
it has been resolved.

Didn't find what you were looking for? Find more on sub report issue Or get search suggestion and latest updates.