2004 IR Help Posted August 21, 2006 Share Posted August 21, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now