Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

sub report issue

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

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?

Share: 

 

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"]]>

</subreportExpression>

 
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.




Tagged: