I have a requirement where I have a an XML config file. the path of this config file is specified in the classpath. I need to load this config file at run time by just specifying the name of the file.
Eg. Assume the file abc.xml is in c:/temp/abc.xml. and my classpath is set c:/temp;
and I want to do something like this.
File file = new File("abc.xml");
Does the JRE furnish the complete the path of the file at run time?