How to use properties file in my Eclipse project without using any hard code in calling java file?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5295084/how-to-read-properties-file-in-java">How to read properties file in java</a>  </p>
</blockquote>



<p>I have a 'MyProp.properties' file having key-values like:</p>

<pre><code>browser = Firefox
baseURL = http:\\www.google.com
user = student
</code></pre>

<p>The above key-value pairs I want to use in my project</p>

<p>How can I achieve that?
I am new to JAVA, please guide me through </p>
