<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="classpath:db.properties"/>
<!--指定外部屬性文件的編碼格式-->
<property name="fileEncoding" value="UTF-8"></property>
</bean>
<context:property-placeholder location="classpath:db.properties"/>
<context:property-placeholder location="classpath:db.properties,
classpath:db.properties"/><bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfi
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfi