上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 36 下一页
摘要: 一、Spring简介 什么是Spring • 轻量:Spring是轻量级的,基本的版本大小为2MB • 控制反转:Spring通过控制反转实现了松散耦合,对象们给出它们的依赖,而不是创建或查找依赖的对象们。 • 面向切面的编程AOP:Spring支持面向切面的编程,并且把应用业务逻辑和系统服务分开。 阅读全文
posted @ 2022-03-10 10:11 IT6889 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 开发者头条是一个资源丰富的程序猿学习网站。当网站发布新的内容的时候,内容优秀的总是会被点赞 为什么使用Redis而不是MySQL实现? Redis 和 MySQL应用场景不同。 从效率来说: Redis的数据存放在内存,所以速度快但是会受到内存空间限制。 MySQL存放在硬盘,在速度上肯定没有Red 阅读全文
posted @ 2022-03-10 09:59 IT6889 阅读(582) 评论(0) 推荐(1) 编辑
摘要: 目录 1. 简介 2. WebMvcConfigurer接口 2.1 addInterceptors:拦截器 2.2 addViewControllers:页面跳转 2.3 addResourceHandlers:静态资源 2.4 configureDefaultServletHandling:默认 阅读全文
posted @ 2022-03-10 09:37 IT6889 阅读(1217) 评论(0) 推荐(0) 编辑
摘要: 双亲委派机制: 阅读全文
posted @ 2022-03-04 16:27 IT6889 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 1、登陆Apache maven官网 http://maven.apache.org/index.html 2、点击download,进入下载页面 点击进去是最新版本的maven,后来发现最新版本出现了一些问题,所以我实际下载的是老版本3.6.1 要想查看历史版本:则点击archives。 点击bi 阅读全文
posted @ 2022-03-04 15:23 IT6889 阅读(1893) 评论(0) 推荐(0) 编辑
摘要: 1.下载 maven 压缩包 输入网址 www.apache.org 会看到以下界面 住下划看到以下界面 然后看到这个界面 选择下载这个版本 下载后 解压 maven 压缩包 (文件路径不建议用有中文的,最好自己新建一个那样方便好多) 然后创建本地仓库 MavenRepository 然后 打开 c 阅读全文
posted @ 2022-03-04 15:14 IT6889 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 1. isEqual select sum(cou) from ( select count(*) cou from TABLE_NAME_a T where 1=1 <isEqual property = "type" compareValue="xxx"> and T.aa_type = #{a 阅读全文
posted @ 2022-03-02 10:26 IT6889 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 请求资源访问过滤 package com.feng.config; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Value; import org.springframew 阅读全文
posted @ 2022-03-01 18:20 IT6889 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 报错信息: org. springframework. web. util. NestedServletExcepti on:Request processing f ailed; nested exception is org.springframework. dao. DataIntegrity 阅读全文
posted @ 2022-03-01 17:09 IT6889 阅读(3659) 评论(0) 推荐(2) 编辑
摘要: 插件编写(plugin) 步骤: 1. 编写Interceptor的实现类: MyFirstPlug 2. 使用@Intercepts注解完成插件签名 3. 将写好的插件注册到全局配置文件中 package com.feng.config; import org.apache.ibatis.exec 阅读全文
posted @ 2022-02-22 16:09 IT6889 阅读(215) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 36 下一页