Google News
logo
JSF - Interview Questions
What is h:graphicImage tag in JSF (JavaServer Faces)?
JSF renders an HTML element "img" tag. This tag is used to render an image on the web page.
 
<h:graphicImage id="image-id" name="user-image" url="#{user.fileLocation()}"   
height="50px" width="100px" alt="Image"></h:graphicImage>

 

Advertisement