Spring的xml中引入其他文件

引入db.properties

    <!--加载db.properties文件-->
    <context:property-placeholder location="classpath:properties/db.properties"/>

引入其他xml文件

<import resource="classpath:spring-dao.xml"/>

 

posted @ 2019-06-08 21:38  手握钢叉的猹  阅读(1754)  评论(0编辑  收藏  举报