摘要:
例如set集合,list集合,map集合,properties集合我们如何注入呢?private List list = new ArrayList();private Set sets = new HashSet();private Properties Properties = new Prop... 阅读全文
摘要:
private String getTime(String flag, int times) { String time = new String(); SimpleDateFormat startDf = new SimpleDateFormat("yyyy-MM-dd 00:00:00");... 阅读全文
摘要:
Spring是一个开源的控制反转(Inversion of Control,IoC)和面向切面(AOP)的容器框架,它的主要目的是简化企业开发。下面来介绍Spring容器的实例化所需jar文件:spring.jarcommons-logging.jar实例化Spring容器常用的两种方式方法一:在类... 阅读全文