How to read properties file in java
<p>I want write a java program </p>

<p><strong>Problem:</strong></p>

<p>I have property file, in the property file contains </p>

<pre><code>range="1,5,35-50,100"
</code></pre>

<p>I should get the input as range from command prompt or JSP and print out message likes <code>this is a range</code> or <code>this is not a range</code></p>

<p>let us consider following I/O should be looks like</p>

<pre><code>Input:1
Output:this is a range

Input:2
Output:this is not a range

Input:37
Output:this is a range

Input:60
Output:this is not a range

Input:100
Output:this is a range
</code></pre>

<p>can anybody help me, advance in thanks</p>
