How does Spring 3 expression language interact with property placeholders?
To access property placeholder from SpEL expression, the following syntax can be used: #{‘${x.y.z}’}. Hovewer, it can’t solve your problem with elvis operator and default values, because it would throw an exception when ${x.y.z} cannot be resolved. But you don’t need SpEL to declare default values for properties: <context:property-placeholder location=”…” properties-ref=”defaultValues”/> <bean id = “defaultValues” … Read more