Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- laravel
- Linux
- php
- 톰캣
- error
- 와일드카드
- junit
- JSON
- DB
- ajax
- 정규식
- 리눅스
- jquery
- tomcat
- properties
- Spring
- javascript
- curl
- MySQL
- CentOS
- NetBeans
- SeLinux
- 안드로이드
- larravel
- java
- html
- Android
- 이클립스
- input
- File
Archives
- Today
- Total
합쭈기 programming
xml에서 properties 설정 사용하기 본문
<bean id="propertyPlaceholderConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<value>classpath:/properties/db.properties</value>
</property>
</bean>
상기 등록 후
<property name="username" value="${username}" />
'Java > Spring' 카테고리의 다른 글
Excel 다운로드 (0) | 2015.05.18 |
---|---|
자바 와일드 카드 (0) | 2015.05.15 |
JRebel - 재구동 없이 java & xml 변경 plugin (0) | 2015.05.11 |
소스상에서 properties 사용하기 (0) | 2015.05.07 |
out of memory 체크 (0) | 2015.05.06 |