h:graphicImage doesnot locate images outside webapp?

yarabati
yarabati used Ask the Experts™
on
Hi experts,

I have a requirement to use certain image files uploaded through our application for displaying through h:graphicImage tag. I am unable to locate images outside my webapplication.

In fact when i say <h:graphicImage value="C:\image.gif", it gives error as invalid URL.

Please can any one of you help me to fill some ideas to resolve this?

Cheers,
Yarabati
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
did you tried with this also
value="C:/image.gif"

Author

Commented:
Thank you very much for the reply. I tried but it's not working.

ANy other thoughts would be really appreciated.
Is this application deployed on a server? if yes, then you won't be able access any resource from a server just by mentioning the url this way
Commented:
I see this is not possible through h:graphicImage after going through several posts.
We changed the implementation in a different way to have this functionality in our application.

Author

Commented:
I see this is not possible through h:graphicImage after going through several posts.
We changed the implementation in a different way to have this functionality in our application.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial