I'm trying to make it so that in config/app.properties
, I can have:
myfile.location=./myfile
where .
is relative to said properties file. Is this possible ? I tried:
resourceLoader.getResource(appConfig.getMyFileLocation());
where resourceLoader and appConfig are autowired, but it won't work.