摘要: 1、js端方法调用 <a href="../xx/pdfDownload!exportToPdfReport.action?oid=123" target="_blank"><span>导出PDF</span></a> 2、后端方法 public void exportToPdfReport() t 阅读全文
posted @ 2021-02-26 17:48 Caesar_the_great 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(54) 评论(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 阅读(1178) 评论(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 阅读(239) 评论(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 阅读(1533) 评论(0) 推荐(0) 编辑