02 2021 档案

SpringBoot使用Jsp开发Web项目
摘要:1.简述 以前都是使用JSP页面开发,但是因为JSP无法实现Spring Boot的多种特性,所以Spring Boot不推荐使用JSP进行页面开发。 2.使用示例 引入相关依赖: <!--JavaServer Pages Standard Tag Library,JSP标准标签库--> <depe 阅读全文

posted @ 2021-02-02 16:56 码农记录 阅读(589) 评论(0) 推荐(0)

SpringBoot使用Thymeleaf开发Web项目
摘要:1.简述 SpringBoot提供了spring-boot-starter-web为Web开发予以支持,spring-boot-starter-web为我们提供了嵌入的Tomcat以及Spring MVC的依赖。 SpringBoot支持多种模版引擎包括: FreeMarker Groovy Thy 阅读全文

posted @ 2021-02-02 15:28 码农记录 阅读(349) 评论(0) 推荐(0)

SpringBoot启动原理
摘要:1.简述 SpringBoot因为内置了tomcat或jetty服务器,不需要直接部署War文件,所以SpringBoot的程序起点是一个普通的主函数。 主函数如下: @SpringBootApplication public class DemoApplication { public stati 阅读全文

posted @ 2021-02-01 16:14 码农记录 阅读(1568) 评论(0) 推荐(0)

Mysql分析sql语句
摘要:1.简述 在开发完成后,随着数据量的增加我们会遇到一些MySQL的性能问题。要想解决性能优化的问题,首先要想办法发现哪些SQL有性能问题。通过下面这几个手段可以比较准确的定位到有问题的SQL进行分析优化。 2.通过explain查询 大部分的性能分析都需要使用到该命令,可以用来查看SQL语句的执行效 阅读全文

posted @ 2021-02-01 11:33 码农记录 阅读(597) 评论(0) 推荐(0)

导航