title: JSF 2.0 How to link CSS from resources folder
body: <p>I'm designing the template for my new JSF2.0 App and I want to use the resources folder to store my css-file. Now I started to create a template-file, but I don't know how to link the css.</p>
  
  <p>I tried:</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" href="resources/css/style.css"/&gt;
  </code></pre>
  
  <p>..but didn't work</p>
  
  <p>Can somebody help me, pls.
  THX</p>
  
  <hr>
  
  <pre><code>&lt;h:outputStylesheet library="css" name="style.css" target="head" /&gt;
  </code></pre>
  
  <p>That doesn't work either :-(</p>
  
  <hr>
  
  <p>It still doesn't work! Maybe that resource-method is disabled?! It doesn't work with pictures either!</p>
  
  <pre><code>&lt;h:graphicImage value="#{resource['img:logo.png']}"/&gt;
  </code></pre>
  
  <p>The output in my browser looks like that:</p>
  
  <pre><code>&lt;img src="RES_NOT_FOUND"&gt;
  </code></pre>
  
  <p>EDIT: Images working now. I stupidly set a wrong path -.- but the stylesheet is still not working</p>