The easiest way to do what you ask is to create a controller that will read the contents of your HTML files and return them on demand. In this case, you can write it from your JSF page with a very simple declaration:
<h:outputText escape="false" value="#{yourController.contactus}" />
Since you're going to read the contents of HTML files, you need to tell JSF so that they don't escape them (thus escape = "false").
Of course, your controller needs to provide a method called getContactus() , which should read the contents of your HTML files and return them as String. I believe you can easily handle this :)
Edit - Add information on how to select a file.
If your HTML files are language-dependent, so they are already bilingual, but different for English and French, you can easily get the current Locale view from UIViewRoot:
Locale currentLocale = FacesContext.getCurrentInstance().getViewRoot().getLocale(); String fileName = "contactus_" + currentLocale.toString() + ".html";
source share