- 博客(3)
- 收藏
- 关注
原创 利用spring的profile切换不同的环境
1.profile简单实用-简单暴力才是最好的 我们就简单地用一下,先不考虑和maven的集成使用,就可以解决烦人的事情。[html] view plain copy<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmln...
2018-02-27 14:41:07 742
原创 spring中的两种引用文件
util:properties和context:property-placeholder标签都可以用来获取外部配置文件中的内容 1、util:properties 它是以声明bean方式来使用,创建了一个bean,下面使用的时候通过SpEL表达式#{}获取bean的属性。<util:properties id="config" location="classpath:db.propertie...
2018-02-27 14:40:18 209
原创 Spring + Quartz
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:task="http://www.springframew
2018-02-23 10:39:46 316
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人