摘要: properties配置文件 application.properties是springboot项目默认的配置文件,所以springboot程序在启动时会默认读取application.properties配置文件,而我们可以使用一个现成的注解:@Value,获取配置文件中的数据。 @Value 注 阅读全文
posted @ 2024-06-17 19:10 hudad 阅读(4) 评论(0) 推荐(1) 编辑
摘要: 前端代码 <form action="/upload" method="post" enctype="multipart/form-data"> 姓名: <input type="text" name="username"><br> 年龄: <input type="text" name="age" 阅读全文
posted @ 2024-06-17 18:09 hudad 阅读(15) 评论(0) 推荐(1) 编辑
摘要: MyBatis是一款优秀的 持久层 框架,用于简化JDBC的开发。 MyBatis本是 Apache的一个开源项目iBatis,2010年这个项目由apache迁移到了google code,并且改名为MyBatis 。2013年11月迁移到Github。 官网:https://mybatis.or 阅读全文
posted @ 2024-06-17 17:19 hudad 阅读(3) 评论(0) 推荐(1) 编辑
摘要: SQL语句根据其功能被分为四大类:DDL、DML、DQL、DCL 分类 全称 说明 DDL Data Definition Language 数据定义语言,用来定义数据库对象(数据库,表,字段) DML Data Manipulation Language 数据操作语言,用来对数据库表中的数据进行增 阅读全文
posted @ 2024-06-17 15:11 hudad 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 一、下载 官网下载Mysql:https://dev.mysql.com/downloads/mysql/ 百度网盘链接mysql-8.0.31:https://pan.baidu.com/s/1CiW7oL8fR05NPZT55_9DUQ?pwd=0724 提取码:0724 二、解压 下载完成后我 阅读全文
posted @ 2024-06-17 12:14 hudad 阅读(6) 评论(0) 推荐(1) 编辑