Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static Properties prop;
- private static String index;
- static void loadConfigurationFile() throws IOException{
- prop = new Properties();
- FileInputStream propertiesFile;
- propertiesFile = new FileInputStream("/home/dani/Dropbox/Segundo Grado/Segundo Cuatrimestre/Redes/P2/WebServer/conf/server.conf");
- prop.load(propertiesFile);
- index=prop.getProperty("DIRECTORY_INDEX");
- }
Add Comment
Please, Sign In to add comment