ant « Bean « Spring Q&A





1. Java, Spring best practices to use variables in properties files    stackoverflow.com

I use org.springframework.beans.factory.config.PropertyPlaceholderConfigurer. There are 3 properties files. So if properties duplicate - last wins. The first file contains all properties, others substitute some properties. I use e.g. variable like

log.dir=c:/log.
So I can substitute ...