@Value("#{myProperties.prop_part1_part2}")
works but
@Value("#{myProperties.prop.part1.part2}")
Doesn't.
How do I address a property with "." in the key ?
@Value("#{myProperties.prop_part1_part2}")
works but
@Value("#{myProperties.prop.part1.part2}")
Doesn't.
How do I address a property with "." in the key ?
I haven't used spring 3 yet, so my answer is a shot in the dark. Try
@Value("#{myProperties['prop.part1.part2']"}