How to set an image with an absolute path to a h:graphicImage?

1.2k Views Asked by At

I have a web application that creates QR codes and store them in C:\QR

I sometimes need to get those images and put them in a h:graphicImage.

How to get those images stored in C:\QR and put them in a h:graphicImage?

And also how to get them from their server path (I have some of them stored there)?

I have this code but it only works for the images in the "imagenes" directory...

<h:graphicImage value="/imagenes/marcas-cadillac.png" width="115" height="58"/>

I am using NetBeans 8.0

0

There are 0 best solutions below