Jump to content
Changes to the Jaspersoft community edition download ×

null Image through InputStream


2004 IR Help

Recommended Posts

By: veny - vichandoko

null Image through InputStream

2005-04-27 03:10

Hi,

 

I've created a JasperReport and would like to display a image on the html report through InputStream.

 

I've created a parameter, Logo, of type java.io.InputStream. I passed a java.io.ByteArrayInputStream as the value of 'Logo'.

 

However when i performed export, the image source became 'nullimg' and could not be displayed. any idea why?

 

How else could i display an image through InputStream?

 

Thanks much.

 

 

 

 

 

By: veny - vichandoko

RE: null Image through InputStream

2005-04-27 04:03

i think i understand what is the problem.

the image source actually refers to a path.

However i do not package the image together with the web application. I need the image to be gotten from database. How could i do this?

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