摘要:
1、applicationContext.xml配置 <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close"> <property name="driverClass 阅读全文
posted @ 2021-02-26 17:25
Caesar_the_great
阅读(60)
评论(0)
推荐(0)
摘要:
function ClosePage(){ if(navigator.userAgent.indexOf("MSIE") > 0){ if(navigator.userAgent.indexOf("MSIE 6.0") > 0) { window.opener = null; window.clos 阅读全文
posted @ 2021-02-26 17:11
Caesar_the_great
阅读(1205)
评论(0)
推荐(0)
摘要:
1、分组:Map<String, List<Student>> map = list.stream().collect(Collectors.groupingBy(Student::getClassName)) 解释:对studentList按照班级分组,结果是一个map<List>,map中的ke 阅读全文
posted @ 2021-02-26 16:54
Caesar_the_great
阅读(270)
评论(0)
推荐(0)
摘要:
1、两种实现方式:1 xml 2 注解 注解式:三个核心注解 (不需要额外配置文件) 类上的:@Component & @EnableScheduling 定时执行的方法上的:@Scheduled(cron="0 0/10 * * * ?") XML式:applicationContext.xml中 阅读全文
posted @ 2021-02-26 16:32
Caesar_the_great
阅读(1608)
评论(0)
推荐(0)

浙公网安备 33010602011771号