title: Webapp can't find file in Tomcat but path exists on system
body: <p>I have a Java web app deployed in Tomcat and I need to read a particular file placed inside the webapp's directory.</p>
  
  <p>The path it tries to read: </p>
  
  <pre><code>String path = "C:\\Program Files\\Apache Software Foundation\\Tomcat 7.0\\webapps\\my-server\\config\\myfile.csv";
  File file = new File(path);
  if(file.exists())
      //read the file...
  </code></pre>
  
  <p><code>file.exists()</code> returns false but I can navigate to that path in Windows Explorer.
  Is this some kind of permissions issue?
  Any clues as to what might be wrong? I'm very lost.</p>