title: How to handle javax.faces.resource resource not found
body: <p>When I type a url to a non-existing resource from javax.faces.resource such as </p>
  
  <pre><code>http://myapp/javax.faces.resource/noexisting.xhtml 
  </code></pre>
  
  <p>I am getting the default HTTP 404 page while my 404 error page is not being rendered . I understood that the FacesServlet is setting the status code to 404 instead of sending en error which is why my error page is never called. Is there a way to override this implementation to send an error instead of setting the status code? </p>
  
  <p>I am using primefaces 3.5 and morajara 2.1.14.</p>
  
  <p>Thanks for any help.</p>