JSF graphicImage Example
The JSF graphicImage renders an HTML <IMG> tag in the browser. Below is the JSF h:graphicImage tag and its corresponding HTML tag.
JSF => <h:graphicImage url=”img/simba.png” style=”width:200px;height:200px;” />
HTML => <img src=”img/simba.png” style=”width:200px;height:200px;” />
The Below JSF page renders an image using h:graphicImage tag. I placed the image ‘simba.png’ under ‘Webcontent/img’ folder.
The page looks like below:
The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.
Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂
Latest posts by Govind
- Is it possible to logout Primavera P6 through SQL Query? - February 16, 2018
- How to Create Primavera P6 EPPM Database schemas in Microsoft SQL Server - February 15, 2018
- Configure Windows Firewall for Microsoft SQL Server 2017 – Part 4 - February 14, 2018