02 2024 档案

摘要:JDBCTemplate execute方法:可以用于执行任何SQL语句,一般用于执行DDL语句; update方法及batchUpdate方法:update方法用于执行新增、修改、删除等语句;batchUpdate方法用于执行批处理相关语句; query方法及queryForXXX方法:用于执行查 阅读全文
posted @ 2024-02-29 16:42 软件拓荒人 阅读(2) 评论(0) 推荐(0) 编辑
摘要:尝试整合JDBC spring: datasource: username: root password: 123456 url: jdbc:mysql://localhost:3306/mybatis?useSSL=true&userUniceode=true&characterEncoding= 阅读全文
posted @ 2024-02-29 16:40 软件拓荒人 阅读(2) 评论(0) 推荐(0) 编辑
摘要:了解了MVC配置原理 Spring MVC Auto-configuration // Spring Boot为Spring MVC提供了自动配置,它可以很好地与大多数应用程序一起工作。 Spring Boot provides auto-configuration for Spring MVC t 阅读全文
posted @ 2024-02-29 16:36 软件拓荒人 阅读(8) 评论(0) 推荐(0) 编辑
摘要:使用thymeleaf <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <!- 阅读全文
posted @ 2024-02-29 16:35 软件拓荒人 阅读(3) 评论(0) 推荐(0) 编辑
摘要:Thymeleaf 语法学习 简单表达式: 变量表达式:${...} 选择变量表达式:*{...} 消息表达式:#{...} 链接网址表达式:@{...} 片段表达式:~{...} 文字 文本文本:,,…'one text'``'Another one!' 数字文字: , , , ,…0``34`` 阅读全文
posted @ 2024-02-29 16:34 软件拓荒人 阅读(3) 评论(0) 推荐(0) 编辑
摘要:学习引入Thymeleaf Thymeleaf 官网:https://www.thymeleaf.org/ Thymeleaf 在Github 的主页:https://github.com/thymeleaf/thymeleaf Spring官方文档:找到对应的版本 阅读全文
posted @ 2024-02-29 16:33 软件拓荒人 阅读(5) 评论(0) 推荐(0) 编辑
摘要:学习了Thymeleaf模板引擎前端交给我们的页面,是html页面。如果是我们以前开发,我们需要把他们转成jsp页面,jsp好处就是当我们查出一些数据转发到JSP页面以后,我们可以用jsp轻松实现数据的显示,及交互等。 阅读全文
posted @ 2024-02-29 16:31 软件拓荒人 阅读(3) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示