Hi,
I am writing a
java file in a package like com.abc to read the database
and created a properties file xxx which has user , password ..etc all db information and placing in the same package ...com.abc
but i am getting the file not found exception.. why? its not finding the properties file .
this is the java code i am writing in java file
Properties properties = new Properties();
properties.load(new FileInputStream("xxx.properties"));
where should i place the java file .
can anyone please help as i am beginner
Thanks ,
vinay rajnish