I'm trying to load a configuration file. But it doesn't work my configuration file is placed under WEB-INF folder
and here is my code to load that conf file :
private static final String PROPERTIES_FILE = "/WEB-INF/dao.properties";
ClassLoader classloader = Thread.currentThread().getContextClassLoader();
        InputStream fichierProperties = classloader.getResourceAsStream(PROPERTIES_FILE);
        if (fichierProperties == null) {
            throw new DAOConfigurationException("file "+PROPERTIES_FILE+ " not found" );
        }
I'm always getting this error file not found, Should make some changes on the build path ??
 
     
    