原创 SpringMVC配置文件讀取其他配置文件中屬性VS類中注入配置文件屬性

1、在SpringMVC配置文件中讀取其它配置文件中的屬性 1)首先獲取要讀取的配置文件的位置 <context:property-placeholder location="classpath:redis.properties,