How to set the location of the property file in the class path

Sat Nar

Ranch Hand

Posts: 83

posted 11 years ago

Hi, i need to read a property file.If i give the full path say "c:\example\test.properties" its working fine.But in the code i need to only mention the property file name and set the path of this property file in the class path.