Contents
see List우선 root-context 에
jsp 에서는
<c:set var="baseImgPath"><spring:eval expression="@config['base.img.path']"/></c:set>
이렇게 jstl 로 선언후 사용가능하고
java 에서는
@Value("#{app['base.img.path']}")
private String baseImgPath;
상위와 같이 매핑하여 사용이 가능하다.
Loading...
mobile : 010-5139-4813
[ spring ] properties 파일 쉽게 사용하기(jsp,javs 소스)
| No | Title |
|---|---|
| 328 | [ spring security ] 스프링 시큐리티 유저정보 얻는 방법 |
| 311 | [ spring ] IOException while loading persisted sessions: java.io.EOFException 해결 |
| 310 | [ spring ] How To Get HTTP Request Header In spring ( 스프링에서 http header 값 가져오기) |
| 164 | [ spring ] properties 동적으로 사용하기 (context:property-placeholder 및 util:properties) |
| 149 | [ Spring Security ] 스프링 시큐리티 미세 접근 제한 |
| 148 | [ Spring ] @Valid 어노테이션에 쉽게 매핑하기 |
| 145 | [ Spring ] Transaction Isolation [ 트랜젝션 격리 ] 관리 |
| 109 | [ spring ] transaction propagation [ 트랜젝션 전파 ] 관리 |
| 103 | [ spring ] 스프링에서 스케줄링(Schedule) 등록하는 방법 |
| 44 | [ spring security ] 스프링 시큐리티 xml 설정 |