上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: 03-Mybatis进阶-MybatisPlus 1.MybatisPlus核心功能 代码生成器。 BaseMapper封装CRUD操作。 Wrapper查询条件构造器。 分页插件。 自定义ID生成器。 2.MybatisPlus快速入门 创建数据库,执行官网提供的SQL脚本。 DROP TABLE 阅读全文
posted @ 2021-09-04 08:39 行稳致远方 阅读(96) 评论(0) 推荐(0)
摘要: SpringMVC进阶-01 1.拦截器 public class LoginInterceptor implements HandlerInterceptor { /** * 拦截器 拦截没有登录的用户 * @param request * @param response * @param han 阅读全文
posted @ 2021-08-25 20:15 行稳致远方 阅读(60) 评论(0) 推荐(0)
摘要: Springboot进阶-04-Redis 1.Springboot Data-Redis 导入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis 阅读全文
posted @ 2021-08-19 22:25 行稳致远方 阅读(49) 评论(0) 推荐(0)
摘要: Springboot进阶-03-Shiro 1.Springboot-Shiro shiro概念 shiro核心功能,身份验证、授权、加密和会话管理。 shiro三个核心对象。Subject,用户;ShiroSecurityManager,用户管理;Realm,连接数据。 导入依赖 <!-- shi 阅读全文
posted @ 2021-08-19 22:24 行稳致远方 阅读(65) 评论(0) 推荐(0)
摘要: Springboot进阶-02-SpringSecurity 1.Springboot-SpringSecurity SpringSecurity概念 SpringSecurity核心功能认证、授权和攻击防护。 SpringSecurity主要通过一组过滤器链来实现。 导入依赖 <dependenc 阅读全文
posted @ 2021-08-19 22:22 行稳致远方 阅读(68) 评论(0) 推荐(0)
摘要: Springboot进阶-JDBC、Druid、Mybatis、Swagger、SpringMVC、Mail 1.Springboot-JDBC Springboot整合JDBC后,引入spring-boot-starter-jdbc,通过JdbcTemplate来操作数据库。 导入依赖 <depe 阅读全文
posted @ 2021-08-19 22:07 行稳致远方 阅读(148) 评论(0) 推荐(0)
摘要: Springboot01-基础 1.Springboot概念 Springboot不是一种新的框架,它默认整合了很多优秀的框架。同时Springboot有很多优秀的设计思想,如自动配置XxxAutoConfiguration、条件判断Conditional。 Springboot设计目的是为了简化S 阅读全文
posted @ 2021-08-19 22:02 行稳致远方 阅读(141) 评论(0) 推荐(0)
摘要: SpringMVC基础-02 1.处理乱码问题 web.xml中配置CharacterEncodingFilter。 <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.o 阅读全文
posted @ 2021-08-07 15:36 行稳致远方 阅读(33) 评论(0) 推荐(0)
摘要: SpringMVC基础-01 1.MVC的概念 MVC即Model-View-Controller。MVC会将一个应用分成三个层:模型层、视图层、控制层,来降低视图和业务逻辑间的双向耦合。 对于Controller,在SpringMVC中,DispatcherServlet表示前端控制器,通过Han 阅读全文
posted @ 2021-08-07 15:33 行稳致远方 阅读(52) 评论(0) 推荐(0)
摘要: Spring基础-02 1.Spring注解开发 开启注解配置,并配置要扫描的包。 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi= 阅读全文
posted @ 2021-07-31 21:26 行稳致远方 阅读(46) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 下一页