配置Bean载入properties文件:



  <bean id="propertyPlaceholderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"
p:location="/WEB-INF/ut.properties" />


 

在pring文件中使用那个properties中的参数:

  <constructor-arg index="1" value="${ut.securityContext.serviceProperties.service}" />