Jump to content

subreports path not found


mhbashar1

Recommended Posts

I have two subreports in my master report.In my master report in SUBREPORT_DIR parameter I set- "./"

as dfault parameter(I use winXP) bcause my subreports are in the same directory where the master report is(folder-Report).When I run the master report from iReport all works very well.But the problem is when I run the report from my application it says-subreport not found at directory"./Report/subreport.jasper" I just pass the name of my master report(along with path name) from my application with other required parameter for

JasperFillManager.fillReport() method.But if I give the the full pathname of my subreports in SUBREPORT_DIR,it works well but its not possible(and recommended) always to set the pathname of my subreport.can anybody help me out?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...