Link to home
Start Free TrialLog in
Avatar of yarabati
yarabatiFlag for India

asked on

h:graphicImage doesnot locate images outside webapp?

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
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

did you tried with this also
value="C:/image.gif"
Avatar of yarabati

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of yarabati
yarabati
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.