title: Where to place images in gwt?
body: <p>I'm trying to load a simple image in GWT. But it is never found.</p>
  
  <pre><code>    import com.google.gwt.user.client.ui.Image;
  
      public class ImageTest implements EntryPoint {
          Image image = new Image("test.png");
      }
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>[WARN] 404 - GET /test.png (127.0.0.1) 1394 bytes
     Request headers
        Host: 127.0.0.1:8888
        User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
        Accept: image/png,image/*;q=0.8,*/*;q=0.5
        Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
        Accept-Encoding: gzip, deflate
        Connection: keep-alive
        Referer: http://127.0.0.1:8888/ImageTest.html?gwt.codesvr=127.0.0.1:9997
     Response headers
        Content-Type: text/html; charset=iso-8859-1
        Content-Length: 1394
  </code></pre>
  
  <p><code>test.png</code> is placed in the same dir as the <code>ImageTest</code> class.
  Also I tried putting it under <code>src/main/resources</code>. Same error.</p>
  
  <p>Where does an image have to be located?</p>