title: The best way for a WAR file to receive data from an external file
body: <p>I have a WAR file that requires additional data from an external config file residing in the same folder as the WAR file.  </p>
  
  <p>But once I deploy them to Tomcat, the WAR file and the config file will be residing in different places right?</p>
  
  <p>Do I need to insert a special file path to my project before building the WAR file to make sure that the WAR file will still find the config file after deployment?</p>
  
  <p>Thanks.</p>