I'm reading properties file using context:property-placeholder
. How can I access them programatically (@Value
doesn't work - I don't know property titles at the moment of developing)?
The main problem is I can't change applicationContext.xml
file because it's setted up by "parent" framework
ps. It's strange but Environment.getProperty
returns null
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…