概述

在spring的XML配置文件中引用外部的properties文件,有三种方式:

在spring的配置文件中可以通过
value="${varName}"
的方式,来访问properties的值:
spring-ref-properties-4.png


需要注意的地方