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

Have a questions?

견적 및 기술문의

mobile : 010-7931-4813

Contact Form