• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

relativepath image Jasperreport

Luis Parente
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In an application I'm trying to make a report for each item in a list that I get from a BDD.

Each page must contain a logo .....

I tried to put the image in the beginning of all the pages .....
As in my jrxml the relative path is not appreciated. EX:

After a little google I pass the image in the map like this:

then in the jrxml I reporting this parameter:

then for display:

I don't know why, but <image> need to have onErrorType attribute set to "Blank", otherwise it does not work - throws exception

If I try to print multiple times this parameter (logo) does not work and I do not understand why? It is display only one time.

Thanks in advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic