Jump to content
We've recently updated our Privacy Statement, available here ×

Images with dynamic url in parameter


ben_as

Recommended Posts

Hi all,

I have URLs in database as below:

https://community.jaspersoft.com/image1.png

https://community.jaspersoft.com/image2.png

https://community.jaspersoft.com/image3.png

I store that values in field IMAGES.

I want to display them so I chose Image element from Palette with option Custom expression and I puted $F{IMAGE} into Expression.

It works only on /jasperserver/ and TIBCO Jaspersoft® Studio 6.16.0 but when I make a request I got pdf in response with this content

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><errorDescriptor><errorCode>export.execution.rejected</errorCode><message>net.sf.jasperreports.engine.JRException: Error opening input stream from URL: https://community.jaspersoft.com/image1.png</message></errorDescriptor>

Any ideas whats wrong? When I hardcode image with this "https://community.jaspersoft.com/image1.png" it works properly, but of course instead of dynaminc images I got the same everytime.

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