title: File Path in Eclipse (Java)
body: <p>I am using Eclipse to create a Dynamic Web Project. My eclipse is in </p>
  
  <pre><code>/home/pc/eclipse
  </code></pre>
  
  <p>and My project is in  <code>/home/pc/workspace/MyWebProj</code></p>
  
  <p>Now I placed the files in the above Project Directory. When I want to read any File from my code, It always searches the files in  /home/pc/eclipse folder instead of <code>/home/pc/workspace/MyWebProj</code>, thus I am hardcoding the file path for time being. </p>
  
  <p>Is there any configuration setting in Eclipse I am missing?</p>
  
  <p>Please Suggest.</p>
  
  <p>Thank You,
  Tara Singh</p>