title: JSF returns blank/unparsed page with plain/raw XHTML/XML/EL source instead of rendered HTML output
body: <p>I have some Facelets files like below.</p>
  
  <pre>
  WebContent
   |-- index.xhtml
   |-- register.xhtml
   |-- templates
   |    |--userForm.xhtml
   |    `--banner.xhtml
   :
  </pre>
  
  <p>Both pages are using templates from <code>/templates</code> directory. My <code>/index.xhtml</code> opens fine in browser. I get the generated HTML output. I have a link in <code>/index.xhtml</code> file to <code>/register.xhtml</code> file. </p>
  
  <p>However, my <code>/register.xhtml</code> is not getting parsed and returns as plain XHTML / raw XML instead of its generated HTML output. All EL expressions in form of <code>#{...}</code> are displayed as-is instead of that their results are being printed. When I rightclick page in browser and do <em>View page source</em>, then I still see the original XHTML source code instead of the generated HTML output. For example, the <code>&lt;h:body&gt;</code> did not become a <code>&lt;body&gt;</code>. It looks like that the template is not being executed.</p>
  
  <p>However, when I open the <code>/register.xhtml</code> like <code>/faces/register.xhtml</code> in browser's address bar, then it displays correctly. How is this caused and how can I solve it?</p>