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 |
Tags
- File
- error
- 정규식
- html
- 와일드카드
- 톰캣
- Android
- NetBeans
- SeLinux
- ajax
- javascript
- laravel
- 안드로이드
- MySQL
- curl
- Linux
- properties
- CentOS
- JSON
- jquery
- php
- tomcat
- 이클립스
- junit
- DB
- java
- input
- Spring
- 리눅스
- larravel
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 |