Jump to content

Subreport path


mhbashar1

Recommended Posts

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. "Reportsubreport.jasper"

5. "..Reportsubreport.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 which is in MyProject folder,subreport isn't shown.WHAT PATH TO SET as String?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...