mhbashar1 Posted January 12, 2008 Share Posted January 12, 2008 I hava directory structure likethe following= MyProject (Root)/Report/image Report and image folder is in MyProject folder.Report folder consists of main.jasper and subreport.jasper file.Now Can anybody pls tell me what path to set SUBREPORT_DIR for the subreport to be displayed.I tried the following-1. "subreport.jasper" [only the subreport name bcos of the same folder]2. "./Report/subreport.jasper"3. "/Report/subreport.jasper"4. "\Report\subreport.jasper"5. "..\Report\subreport.jasper" When I run from the iRreport using the above String of 1,4,5,it works well but when I run it from my application whicj is in MyProject folder,subreport isn't shown.WHAT PATH TO SET as String? 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