Aruna,
Its should be absolute path of the properties file.
True, but not very practical, is it?
The path used by the FileInputStream constructor is relative to the current working directory of the JVM; it has nothing to do with the package structure. If you want paths relative to your class files, use Class.getResource() to open the file instead.
Yup ,especially when the application is to shipped to different machine. Class.getResourceAsStream or ClassLoader.getResourceAsStream is good candidate then.