摘要:
Spring MVC 框架组成 调度Servlet(DispaterServlet)处理器映射(HandlerMapping)控制器... 阅读全文
摘要:
ffmpeg的简单实用 1、截取视频某一帧图片作为视频封面 public static String ffmpegPath = "E... 阅读全文
摘要:
一、远程仓库 1、将项目添加到远程库 $ git init$ git add test.txt$ git commit -m "fi... 阅读全文
摘要:
配置freemarker详解 1、SpringBoot freemarker 配置 #设置是否允许HttpServletReques... 阅读全文
摘要:
private static String unZipToFile(File file ,File outfiledir,Strin... 阅读全文
摘要:
pom.xml 4.0.0 org.springframework.boot sprin... 阅读全文
摘要:
Specifications动态查询 有时我们在查询某个实体的时候,给定的条件是不固定的,这时就需要动态构建相应的查询语句,在Spr... 阅读全文
摘要:
package org.springframework.data.repository;import java.util.Opti... 阅读全文
摘要:
KeywordSampleJPQL snippetAndfindByLastnameAndFirstname… where x.la... 阅读全文
摘要:
详见 菜鸟教程 https://www.runoob.com/maven/maven-setup.html 另外还有一位博主瞎写的很... 阅读全文
摘要:
新建项目,添加依赖 org.springframework.boot spring-boot-starter... 阅读全文
摘要:
1.在 pom.xml 中添加如下配置 org.springframework.boot spring-boot-de... 阅读全文
摘要:
认证流程 图片来自于:黑马程序员SpringSecurity认证课程 认证过程: 用户提交用户名、密码被SecurityFilte... 阅读全文
摘要:
在Spring Security中自定义一个的过滤器,将其添加到Spring Security过滤器链的合适位置。定义一个自己的过滤... 阅读全文
摘要:
Spring Security支持在继承WebSecurityConfigurerAdapter的配置类中配置注销登录: Http... 阅读全文
摘要:
自动登录是将用户的登录信息保存在用户浏览器的cookie中,当用户下次访问时,自动实现校验并建立登录态的一种机制。 Spring S... 阅读全文
摘要:
简介 在Spring 3.0,Spring引入了@Import注解,允许通过JavaConfig导入一个或多个类作为 Spring ... 阅读全文
摘要:
Boosting query 返回与positive匹配的文档,同时减少与negative查询匹配的文档的相关性得分。 可以使用bo... 阅读全文
摘要:
结构化搜索 结构化搜索(Structured search) 是指有关探询那些具有内在结构数据的过程。比如日期、时间和数字都是结构化... 阅读全文
摘要:
简介 插入排序的工作方式类似于人们排序一手扑克牌,开始时,我们左手为空并且桌子上的牌面朝下。然后,我们每次右手从桌子上拿起一张牌并将... 阅读全文