>createViewResource</h4>
<pre>public&nbsp;<a href="../../../jakarta/faces/application/ViewResource.html" title="class in jakarta.faces.application">ViewResource</a>&nbsp;createViewResource(<a href="../../../jakarta/faces/context/FacesContext.html" title="class in jakarta.faces.context">FacesContext</a>&nbsp;context,
                                       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;resource