title: Where will WebLogic look for files by default?
body: <p>I have a web application deployed in WebLogic. In one of my java file, I tried to read <code>PleaseNote.txt</code> as following:</p>
  
  <pre><code>File file = new File("PleaseNote.txt");
  </code></pre>
  
  <p>Now WebLogic is taking <code>PleaseNote.txt</code> from its domain directory.My question is:</p>
  
  <ol>
  <li><p>Why it is domain directory? Why not the directory where my java file which has the above line of code is in?</p></li>
  <li><p>Is there any configuration which I am not aware of , but did unknowingly, for WebLogic to look in its domain directory?</p></li>
  <li><p>What are the implications / side effects of using above line of code in production?</p></li>
  </ol>
  
  <p>Any WeLogic experts, please respond.</p>
  
  <p>Thank you
  Regards
  Chaitanya</p>