mhbashar1 Posted January 9, 2008 Share Posted January 9, 2008 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 forJasperFillManager.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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now