摘要: Java中的Filter过滤器 转载路径: https://www.cnblogs.com/cainiao-chuanqi/p/11326793.html 自动装配有什么局限 转载路径: https://www.cnblogs.com/programb/p/13019033.html Spring中 阅读全文
posted @ 2020-07-27 08:15 墨尘无雪 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 当get被赋值并且用到调用时才会生成 阅读全文
posted @ 2020-07-16 11:27 墨尘无雪 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 在进行Spring与MyBatis整合时,Spring框架所需要准备的JAR包共10个,其中包括: 4个核心模块JAR,AOP开发使用的JAR,JDBC和事务的JAR 简单来说,BeanFactory就是一个管理Bean的工厂,它主要负责初始化各种Bean,并调用它们的生命周期方法 JDBC连接数据 阅读全文
posted @ 2020-07-05 14:33 墨尘无雪 阅读(253) 评论(0) 推荐(0) 编辑
摘要: ssm框架的优点?主要从以下三个方面叙述: 1.Spring的优势: 通过Spring的IOC特性,将对象之间的依赖关系交给了Spring控制,方便解耦,简化了开发 通过Spring的AOP特性,对重复模块进行集中,实现事务,日志,权限的控制 提供了对其他优秀开源框架的集成支持 2.Spring M 阅读全文
posted @ 2020-07-02 09:02 墨尘无雪 阅读(4074) 评论(0) 推荐(0) 编辑
摘要: 0.导入依赖 一.easyui分页 1.controller @RequestMapping(value = "/findAllRegion.action",produces = {"application/json;charset=UTF-8"}) public @ResponseBody Map 阅读全文
posted @ 2020-07-01 09:04 墨尘无雪 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 0.导入依赖 <!-- 解析表格 --> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.11</version> </dependency> <!-- 文件上传 --> < 阅读全文
posted @ 2020-06-30 22:11 墨尘无雪 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 2020-06-30 1. 动态sql 参数: 单个 1. String。基本变量 2. 集合(List)数组(array) a) 集合 size b) 数组 length 多个 1. arg0 arg1 2. param1 param2 常用动态sql 1.If(< If >标签) 作用:判断是否 阅读全文
posted @ 2020-06-30 21:24 墨尘无雪 阅读(171) 评论(0) 推荐(0) 编辑
摘要: String 、StringBuilder 、StringBuffer 的区别? 什么情况下用“+”运算符进行字符串连接比调用 StringBuffer/StringBuilder对象的 append 方法连接字符串性能更好?. String类是不可变的(fianl修饰的),对象一旦被创建,就不能被 阅读全文
posted @ 2020-06-16 14:22 墨尘无雪 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 1.连接数据库的步骤中Statement和PrepareStatement的区别:Statement:String sql="insert into student(stuo,stuname) values('"name"',"age"+")";Statement.excuteupadte(sql) 阅读全文
posted @ 2020-06-15 21:16 墨尘无雪 阅读(2641) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2020-06-13 14:21 墨尘无雪 阅读(390) 评论(0) 推荐(0) 编辑