Is it possible to have a java Properties file on a webserver and access it to read the informations?
This is what I tried:
Properties properties = new Properties();
try {
InputStream is = new FileInputStream(new File("iamri.ch/Hello.conf"));
properties.load(is);
} catch (IOException ex) {
properties = null;
}
What am I missing?
Aucun commentaire:
Enregistrer un commentaire