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