随笔分类 -  Java web

spring boot实现违禁词检测
摘要:# spring boot实现违禁词检测 记录一下使用SpringBoot中使用前缀树对敏感词的一个过滤。 首先呢在resources目录下建立一个文件用来装敏感词例如我在resources/sensitive-words.txt如下: ![](https://img2023.cnblogs.com 阅读全文

posted @ 2023-07-31 15:40 鹏星 阅读(851) 评论(0) 推荐(0) 编辑

Linux安装jdk1.8
摘要:第一步: 1.官网下载jdk https://www.oracle.com/java/technologies/downloads/#java8 看你是什么系统 2.把下载好的安装包(下载路径一定要记得)拖到xshell中 第二步: 1.解压安装包(解压命令:tar -zxvf) tar -zxvf 阅读全文

posted @ 2023-04-25 10:26 鹏星 阅读(564) 评论(0) 推荐(0) 编辑

SpringBoot文件上传
摘要:application.yml配置 spring: # 文件上传配置 servlet: multipart: max-file-size: 10MB max-request-size: 10MB web: resources: static-locations: /upload/ 代码 packag 阅读全文

posted @ 2023-04-22 16:52 鹏星 阅读(38) 评论(0) 推荐(0) 编辑

SpringBoot+Mybatis-Plus+EasyExcel
摘要:首先建立一个springboot项目,导入依赖 <!-- MyBatisPlus依赖 --> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <versio 阅读全文

posted @ 2023-04-22 16:40 鹏星 阅读(140) 评论(0) 推荐(0) 编辑

SpringBoot邮箱注册
摘要:首先在pom.xml导入依赖 <!-- springboot 邮件mail --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> < 阅读全文

posted @ 2023-04-21 17:50 鹏星 阅读(99) 评论(0) 推荐(0) 编辑

文件上传
摘要:1.导包 点击查看代码 <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.3.3</version> </dependency> (这两个 阅读全文

posted @ 2022-05-31 21:47 鹏星 阅读(45) 评论(0) 推荐(0) 编辑

使用插件分页
摘要:1.配置(可以在mybatis配置文件中配拦截器,也可以在spring配置文件中配) 1、在ssm项目的spring.xml中配置: <!-- sqlsessionFactory --> <bean class="org.mybatis.spring.SqlSessionFactoryBean"> 阅读全文

posted @ 2022-05-31 21:30 鹏星 阅读(25) 评论(0) 推荐(0) 编辑

分页的实现(普通分页,不使用插件)
摘要:首先我们应该知道分页实际上就是把很多条数据不全显示到页面上,而分段的来显示。 分析思路 平常我们在MySQL中想要查询数据是这样写: select*from tb_goods g,tb_type t where t.id=g.typeid; 这样子就可以把全部数据显示出来,想要实现分页就必须用到的一 阅读全文

posted @ 2022-05-31 21:14 鹏星 阅读(193) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示