Hi,

Use ServletContext to get the properties file from WEB_INF/properties folder.

eg:- String logFile = "/WEB-INF/properties/log4j.properties";
        InputStream in = getServletContext().getResourceAsStream(logFile);

Best Regards,
Mathew

Reply via email to