1. XML에서 Properties 사용

a. context:property-placeholder


<context:property-placeholder location="properties경로명"/>
<context:property-placeholder location="classpath:경로명"/>
<context:property-placeholder location="classpath:경로명, classpath:경로명"/>

b. PropertyPlaceholderConfigurer 객체

<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
		<property name="location" value="classpath:경로명"></property>
		<property name="locations">
			<list>
					<value>classpath:경로명</value>
					<value>classpath:경로명</value>
			</list>
		</property>
</bean>

C. util:properties


properties 파일내용을 properties 타입의 Bean으로 생성 하여 사용
<util:properties id="" location="classpath:경로명"></util:properties>