`

spring中context:property-placeholder/元素

 
阅读更多
为简化PropertyPlaceholderConfigurer的使用,Spring提供了<context:property-placeholder/>元素。下面给出了配置示例,启用它后,开发者便不用配置PropertyPlaceholderConfigurer对象了。

<context:property-placeholder location="userinfo.properties"/>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics