i have a link image saved on String Value in database ,and the image is uploaded in a folder on my localDisk( WEB-INF\images\form.png
).
this is the folder link on the string value in database:
C:\projet\src\main\webapp\WEB-INF\images\form.png
this link is saved here :
@Column(name = "Logo")
private String link_logo;
and this is the Graphicimage in view.xhtml:
<p:column headerText="LOGO" width="10%">
<p:graphicImage value="#{bean.link_logo}"/>
</p:column>
thank you so much.