I have a requirement to have all our properties files be stored in a directory. The location of this directory should be stored in a system environment variable. In my application ...
predhme
You came up with a way to read environment variable into a Spring Bean then "was able to then pass that into the FileSystemResource".
Here:
Can I use an Environment variable ...
i am new to Spring can any one help me what is diff in Spring's ClassPathResource and FileSystemResource class and when to use what i have gone through Api but i ...
I COULD not understand what is meant by ClassPathResource (Implementation class of the Resource Interface ) How is this different from a FileSystemResource ?? The docs says that ClassPathResource takes the ...