springboot配置jsp、html路径

 时间:2024-11-03 16:13:33

1、首先创建springboot项目,如图

springboot配置jsp、html路径

3、编辑application.yml文件,配置数据源以及jsp、html路径server: port: 8080spring: datasource: type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/studentdb?useSSL=false&useUnicode=true&characterEncoding=utf8 username: root password: 123456 servlet: multipart: max-file-size: 10MB max-request-size: 10MB thymeleaf: mode: HTML5 encoding: UTF-8 servlet: content-type: text/html

springboot配置jsp、html路径

5、启动springboot项目

springboot配置jsp、html路径
  • 如何下载CentOS
  • 计算机体系结构量化研究方法
  • 怎样在PLSQL中隐藏table中的系统表
  • com没有备案的域名如何打开
  • 下酒凉菜怎么做?
  • 热门搜索
    冰草怎么吃 简介怎么写 玛吉斯轮胎质量怎么样 阴吹怎么办 随笔怎么写 英国为什么脱欧 zara怎么读 微信群怎么解散 阜怎么读 你为什么选择我们公司