title: FileInputStream in Spring MVC fails to find file
body: <p>I am working on a SpringMVC project which runs a number of automated tests on a database. The access details for this database are located in a .properties file. This file is located within the project directory. </p>
  
  <pre><code> FileInputStream fis = new FileInputStream("batch-dm.properties");
      propFile = new Properties();
      propFile.load(fis);
  </code></pre>
  
  <p>As the file is stored in the project directory the FileInputStream should be able to access it no? 
  If I provide the absolute path e.g. </p>
  
  <pre><code>FileInputStream fis = new FileInputStream("C:/workspace/Project/batch-dm.properties");
  </code></pre>
  
  <p>It recognises the file and runs properly. 
  Do I need to sore this file in a different location because it is a Spring MVC project? 
  Thanks</p>