0
春天有PropertyPlaceholderConfigurer。有没有类似的东西使用bean而不是属性文件?Bean占位符?
说我有
<bean id="baseUrl" class="java.lang.String">
<constructor-arg value="http://example.com" />
</bean>
<bean id="destUrl" class="java.lang.String">
<constructor-arg value="${baseUrl}/dest" />
</bean>
然后我想的destUrl
值是 “http://example.com/dest”。