会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Fork me on Github
好好学习,天天向上
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
下一页
2022年3月25日
Nacos
摘要: 一、安装Nacos github官网下载安装:https://github.com/alibaba/nacos 百度网盘:https://pan.baidu.com/s/1tzLbOGDVkvh9oWItVzivMQ 密码:0529 二、服务注册到Nacos 1.在父工程中添加spring-clou
阅读全文
posted @ 2022-03-25 09:19 昂昂呀
阅读(140)
评论(0)
推荐(0)
2022年3月24日
Eureka
摘要: 一、搭建Eureka服务 1.引入依赖 1 <dependency> 2 <groupId>org.springframework.cloud</groupId> 3 <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId
阅读全文
posted @ 2022-03-24 23:00 昂昂呀
阅读(48)
评论(0)
推荐(0)
SpringCloud依赖配置
摘要: 1 <parent> 2 <groupId>org.springframework.boot</groupId> 3 <artifactId>spring-boot-starter-parent</artifactId> 4 <version>2.3.9.RELEASE</version> 5 <r
阅读全文
posted @ 2022-03-24 22:50 昂昂呀
阅读(293)
评论(0)
推荐(0)
2022年3月18日
米米商城实现登陆
摘要: 一、MD5密码加密 MD5Util.java: 1 import java.security.MessageDigest; 2 import java.security.NoSuchAlgorithmException; 3 4 public class MD5Util { 5 /** 6 * 1.
阅读全文
posted @ 2022-03-18 23:38 昂昂呀
阅读(200)
评论(0)
推荐(0)
SSM框架配置
摘要: 一、新建Maven工程 二、修改目录 三、修改pom.xml 添加SSM所有依赖。 pom.xml: 1 <dependencies> 2 <!-- spring --> 3 <dependency> 4 <groupId>org.springframework</groupId> 5 <artif
阅读全文
posted @ 2022-03-18 22:55 昂昂呀
阅读(144)
评论(0)
推荐(0)
2022年3月14日
Mybatis+MySQL增删改查
摘要: 一、创建数据库 在库中创建一个表格t_user: 二、创建实体类 创建实体类User.java,类中的一些属性对应表中的字段。 User.java: 1 public class User { 2 3 private Integer id; 4 private String username; 5
阅读全文
posted @ 2022-03-14 17:37 昂昂呀
阅读(88)
评论(0)
推荐(0)
Mybatis环境配置
摘要: 一、导入依赖 在pom.xml导入Mybatis 和Mysql的相关依赖。 代码如下: 1 <!-- Mybatis核心--> 2 <dependency> 3 <groupId>org.mybatis</groupId> 4 <artifactId>mybatis</artifactId> 5 <
阅读全文
posted @ 2022-03-14 17:25 昂昂呀
阅读(116)
评论(0)
推荐(0)
2022年3月10日
SpringMVC配置Thymeleaf
摘要: 一、pom.xml 1 <!--Thymeleaf--> 2 <dependency> 3 <groupId>org.thymeleaf</groupId> 4 <artifactId>thymeleaf-spring5</artifactId> 5 <version>3.0.15.RELEASE<
阅读全文
posted @ 2022-03-10 23:57 昂昂呀
阅读(419)
评论(0)
推荐(0)
SpringMVC配置RESTFul
摘要: web.xml: 1 <!--配置HiddenHttpMethodFilter--> 2 <filter> 3 <filter-name>HiddenHttpMethodFilter</filter-name> 4 <filter-class>org.springframework.web.filt
阅读全文
posted @ 2022-03-10 23:56 昂昂呀
阅读(101)
评论(0)
推荐(0)
2022年3月8日
filter编码过滤器
摘要: 1 <filter> 2 <filter-name>CharacterEncodingFilter</filter-name> 3 <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
阅读全文
posted @ 2022-03-08 22:58 昂昂呀
阅读(60)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
下一页
公告