
SOFTMOA TECHNOLOGY
[ Spring ] @Valid 어노테이션에 쉽게 매핑하기
소프트모아가 정리한 기술 기록입니다.
Contents
작성일 2015. 02. 12.
<context:property-placeholder location="classpath:some.properties" ignore-unresolvable="true"/>@Value("${myProperty}")
private String myString;
@Value("${myProperty.two}")
private String myStringTwo;myProperty = whatever
myProperty.two = something else\
that consists of multiline string@Configuration
@PropertySource(value="classpath:some.properties")
public class SomeService {Share this
Spring
Showing 1 to 10 of 79 entries
