How do I load an image from a DB inside a JSF page using managed beans?

Posted by RhigoHR on Stack Overflow See other posts from Stack Overflow or by RhigoHR
Published on 2010-05-17T12:24:38Z Indexed on 2010/05/17 12:50 UTC
Read the original article Hit count: 171

Filed under:
|
|

I have a database with some images. Could anyone explain me how I could load an image in a JSF page?

I already have a managed bean that converts an Image object into a streamcontent. This streamcontent is called from the page in a tag <h:graphicImage>, but when I check the source code of the page, there's no src where the image could be loaded.

© Stack Overflow or respective owner

Related posts about jsf

Related posts about load