InputStream in = SessionManager.getSession().getServletContext().getResourceAsStream(PROPERTIES_LOCATION);
InputStream in = SessionManager.getSession().getServletContext().getResourceAsStream(propertiesLocation.toString());
    private static Properties loadProperties() throws IOException {        try {            Properties properties = new Properties();            InputStream in = SessionManager.getSession().getServletContext().getResourceAsStream(PROPERTIES_LOCATION);            properties.load(in);            in.close();            return properties;        } catch (Exception e) {            final String error = "Unable to open " + PROPERTIES_LOCATION+" due to "+e+".\nPlease check deployment!";            log.fatal(error);            throw new IOException(error);        }    }