Reading a List from properties file and load from Spring with @Value
What I learned today. (May 24, 2019)
Reading a List from properties file and load from spring with @Value.
In properties file,
countryList=Japan,Korea,China
In Java, class file,
@Value("#{'${countryList}'.split(',')}")
private List<String> countryList;