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.
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);
Thanks!