2018年1月3日
摘要: Spring项目在运用中读取配置文件有两种方式: 通过项目的配置文件读取 在spring context.xml里面加入以下代码 在运用到的类里面加入 @Value(" {configProperties['staticUrl']}") private String staticUrl; 通过代码读 阅读全文
posted @ 2018-01-03 12:13 nikeodong 阅读(454) 评论(0) 推荐(0) 编辑