I have created a maven project and in that project one properties file. Now to access that properties file I have to put entire path of that file. How can I use slash to access the base directory, so that I just need to write:
properties.load(new FileReader("/testdata.properties"));<br>
instead of
properties.load(new FileReader("C:/Users/windows7/workspace/project/package/testdata.properties"));