ImportConstants is a utility tag that imports the constant fields of a class into a page, so that they can be used in EL expressions without a bean that offers a getter for each constant. The constants are accessed via the name of the class (default) or via a custom name defined with var, as in this example.
<div class="card">
<p:importConstants type="org.primefaces.util.Constants" var="PFConstants"/>
<h5 class="mt-0">Library</h5>
<h:outputText value="#{PFConstants.LIBRARY}" />
<h5>DOWNLOAD_COOKIE</h5>
<h:outputText value="#{PFConstants.DOWNLOAD_COOKIE}" />
</div>