I want to display an image in the webpage. I added the following code to the webpage:
<h:graphicImage
value="D:\\ShopCart\\WebContent\\resources\\images\\WNewClothing\3.png"/>
When i run it in the eclipse browser i could see the image, but when i run it on the mozilla , the image was not being displayed. Why is it so?
Can somebody provide me a solution to this problem?
I also changed the 'value
'to 'name
', but the problem remains same.