How can I get the relative path of the folders in my project using code?
I\'ve created a new folder in my project and I want its relative path so no matter where the
Are you looking for the root folder of the application? Then I would use
String path = getClass().getClassLoader().getResource(".").getPath();
to actually "find out where I am".