<SpEL사용예>

* ​Spring XML 설정파일(시스템 프러퍼티 호출)


<bean id="taxCalculator" class="org.spring.samples.TaxCalculator">
    <property name="defaultLocale" value="#{ systemProperties['user.region'] }"/>
 
    <!-- other properties -->
</bean>
  



 

 

 

 


+ Recent posts