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
- input
- 안드로이드
- MySQL
- Android
- File
- tomcat
- DB
- properties
- javascript
- CentOS
- ajax
- html
- JSON
- java
- 리눅스
- SeLinux
- Spring
- 톰캣
- curl
- junit
- 와일드카드
- Linux
- jquery
- 정규식
- larravel
- NetBeans
- php
- 이클립스
- error
Archives
- Today
- Total
목록properties (2)
합쭈기 programming
xml에서 properties 설정 사용하기
classpath:/properties/db.properties 상기 등록 후
Java/Spring
2015. 5. 11. 16:05
소스상에서 properties 사용하기
@Component @PropertySource("classpath:/props/global.properties") public class PropsManager { @Autowired Environment env; public String getLocalPath() { return env.getProperty(PropsParam.LOCAL_PATH); } public String getImagePath() { return env.getProperty(PropsParam.LOCAL_PATH) + env.getProperty(PropsParam.IMAGE_PATH); } public String getBoardPath() { return env.getProperty(PropsParam.BOARD_PATH)..
Java/Spring
2015. 5. 7. 10:05