81,094
社区成员
发帖
与我相关
我的任务
分享
<!-- 配置配置文件 -->
<bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="fileEncoding" value="UTF-8" />
<property name="locations">
<list>
<value>classpath:config/configure.properties</value>
</list>
</property>
</bean>
@Value("${web.ver}")
private String webver;
public String getWebver() {
return webver;
}
public void setWebver(String webver) {
this.webver = webver;
}