title: JSF 2.0 app does not find resource
body: <p>I am new to developing on JSF (and new to web development in general) and I am trying to put an image on a page. 
  I'm developing my JSF app in Eclipse and running it on Glassfish 3.1.2. I have registered Glassfish as a server in Eclipse, and running the app via Eclipse.</p>
  
  <p>I use the following markup on my xhtml page:</p>
  
  <pre><code>&lt;h:graphicImage library="images" name="logo.png"/&gt;
  </code></pre>
  
  <p>I copied the image in META-INF/resources/images/logo.png .
  The image does not appear on the page and when I view the page source I see the element</p>
  
  <pre><code>&lt;img src="RES_NOT_FOUND" /&gt;
  </code></pre>
  
  <p>indicating that the image is not found.</p>
  
  <p>When I export my app to a war file and deploy it onto Glassfish via the autodeploy folder, I get the same results - the page displays, but the image does not appear.</p>
  
  <p>Can anyone advise why the image resource is not found?</p>