title: Relative path for properties file
body: <p>I'm using a properties file:</p>
  
  <pre><code>try 
  {
      properties.load(new FileInputStream("filename.properties"));
  } 
  catch (IOException e) 
  {
  }
  </code></pre>
  
  <p>Where should I place <code>filename.properties</code>? I don't want to specify absolute path as this code has to work in different platforms. I tried to place it in the same directory as de class but it doesn't work.  (Sorry if it's a stupid question)</p>
  
  <p>Maybe I can get the path where the current class is placed somehow?</p>