Objeto de propriedades usando um arquivo
FileInputStream fis=new FileInputStream("connection.prop");
Properties p=new Properties ();
p.load (fis);
Badhri Narayanan R
FileInputStream fis=new FileInputStream("connection.prop");
Properties p=new Properties ();
p.load (fis);