title: Getting image from WEB-INF folder
body: <p>I trie to get an image from my image folder which is placed in the WEB-INF.
  But i get the NullPointerException.</p>
  
  <pre><code>   Image logo = Image.getInstance(this.getClass().getResource("/resources/img/auditweb.png"));
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/WuzcA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WuzcA.jpg" alt="enter image description here"></a></p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Have change the code as suggested</p>
  
  <pre><code>Image logo = Image.getInstance(this.getClass().getResource("/WEB-INF/resources/img/auditweb.png"));
  </code></pre>
  
  <p>But didn't work</p>