摘要: 1、配置文件(*.properties)往往通过以下方式注册在Spring IOC中。 2、在控制层或业务层的类中,通过@Value注解引入其中的某个属性。 /src/main/resources/mybatis/db.properties io.spldeolin.demo.controller. 阅读全文
posted @ 2017-10-15 11:38 Deolin 阅读(363) 评论(0) 推荐(0) 编辑