Reading values from two properties files in java?
<p>i want to read values from two properties files. i have below code. is there any good approach?
from props i am getting values.here i have servletcontext available.</p>

<pre><code>InputStream stream = event.getServletContext().getResourceAsStream("someOne.properties");
InputStream streams = event.getServletContext().getResourceAsStream("someTwo.properties");
Properties props = new Properties();
props.load(stream);
Properties props2 = new Properties();
props2.load(streams);
</code></pre>

<p>Thanks!</p>
