invocar+archivo+properties
He colocado el archivo properties junto el resto de .class y no sé que puede estar dando problemas
public static void loadProperties(String filename)
{
Properties props = new Properties(System.getProperties());
try {
FileInputStream in = new FileInputStream(filename);
props.load(in);
} catch (IOException e) {
System.err.println("ERROR: could not load props file "" +
filename + "".");
}
properties = props;
}
muxas gracias :)
public static void loadProperties(String filename)
{
Properties props = new Properties(System.getProperties());
try {
FileInputStream in = new FileInputStream(filename);
props.load(in);
} catch (IOException e) {
System.err.println("ERROR: could not load props file "" +
filename + "".");
}
properties = props;
}
muxas gracias :)
