title: Access Facelets files from shared library in WebLogic
body: <p>We are trying the main application to access the common Facelets files from shared library deployed in WebLogic.</p>
  
  <p>The common Facelets files are in the below path in shared library:</p>
  
  <pre>META-INF->resources->common-ac->HelloWorld.xhtml</pre>
  
  <p>We access this in main application page as: </p>
  
  <pre><code>&lt;ui:include src="/common-ac/HelloWorld.xhtml" /&gt; 
  </code></pre>
  
  <p>However, this didn't work, it throws the following exception:</p>
  
  <pre><code>javax.faces.view.facelets.TagAttributeException: /....public/Home.xhtml @47,50 &lt;ui:include src="/common-ac/HelloWorld.xhtml"&gt; Invalid path : /common-ac/HelloWorld.xhtml
      at com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:125)
  </code></pre>
  
  <p>How is this caused and how can I solve it?</p>