title: How do I access a text file from within my war
body: <p>How do I know what file reference to use to get a file from my WAR.</p>
  
  <p>The structure of the WAR is:</p>
  
  <blockquote>
    <p>WAR<br>
    src<br>
      - model<br>
      - web<br>
     build<br>
    &nbsp;&nbsp;WebContent<br>
      &nbsp;&nbsp;&nbsp;&nbsp;META-INF<br>
      &nbsp;&nbsp;&nbsp;&nbsp;WEB-INF<br>
       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LIB</p>
  </blockquote>
  
  <p>The JSPs are under WebContent, I have put the config.txt file under the WebContent folder and tried to get to it with </p>
  
  <blockquote>
    <p>BufferedReader in = new BufferedReader(new FileReader("WebContent/config.txt"));</p>
  </blockquote>
  
  <p>But this doesn't work. Does anyone know what reference I need to pass or how I can figure it out.</p>