posted 13 years ago
Hi,
I've a question related to FacesContext.getCurrentInstance().getExternalContext().getResourceAsStream() function, it returns only the web application name as string and I wanna to get a property file read from WEB-INF folder. But throws null pointer exception when I not give path to getResourceAsStream("/WEB-INF/A.properties").
I hope the WEB-INF folder is added with the web application's class path, so it has to retrieve the file right? Kindly clarify me. Thanks in advance.
No pain, No gain.
OCJP 1.6, Liferay Certified Developer 6.1