Jump to content
Changes to the Jaspersoft community edition download ×

can´t load my sub-reports....


Recommended Posts

By: Adriana Mestrinelli Paranhos - jasperdri

can´t load my sub-reports....

2003-03-11 11:51

Hello....

 

I have a principal frame where I call for my reports and some of them use sub-reports....

 

my problem is that it isn´t finding the sub-report file, but they´re in the same directory...

 

how can I make it find the sub-report file (.jasper)??

Must I pass the full path to the master report?? how do I do this??

 

thanx

 

 

 

 

By: Teodor Danciu - teodord

RE: can´t load my sub-reports....

2003-03-11 21:23

 

Hi,

 

Add the directory containing the report templates

to your application classpath.

 

I hope this helps.

Teodor

 

 

 

 

 

By: juan david vergara perez - jvergara

RE: can´t load my sub-reports....

2003-03-12 07:12

you can solve ur problem passing the full path template in the subreportexpression. like this:

/projects/jasper/templates/something.jasper.

 

It work's everytime for me.

 

 

 

 

By: juan david vergara perez - jvergara

RE: can´t load my sub-reports....

2003-03-12 07:15

sorry, like this:

 

"/projects/jasper/templates/something.jasper"

 

 

 

 

By: Adriana Mestrinelli Paranhos - jasperdri

RE: can´t load my sub-reports....

2003-03-12 04:08

Teodor....

 

it didn´t work when i put my directory oin the classpath...

 

could it be anything else??

 

thanx

 

 

 

 

By: Teodor Danciu - teodord

RE: can´t load my sub-reports....

2003-05-10 03:50

 

Hi,

 

Can you give more details about the location

of files on disk, the classpath that you have and

the expressions you use to reference

subreports in the XML design?

 

Thank you,

Teodor

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