title: Unable to find a file in server, that can be seen in development mode
body: <p>My GWT project runs nicely in developement mode but when I put it on server it can't find an XML file.</p>
  
  <p>My file is in <code>src/main/webapp</code> and when I do mvn install it shows up in <code>target/&lt;projectname&gt;-1.0-SNAPSHOT</code></p>
  
  <p>I try to access the file like this:</p>
  
  <pre><code>FileInputStream inputStream = new FileInputStream("testobj.xml");
  </code></pre>
  
  <p>and it throws </p>
  
  <pre><code>java.io.FileNotFoundException: testobj.xml (The system cannot find the file specified)
  </code></pre>
  
  <p>really puzzled by it .. haven't found any useful links on this either.</p>