srpingboott+thymeleaf无法跳转页面解决

今天创建了一个springboot想简单实现一下请求跳转,代码以下: 1、首先maven的pom文件添加thymeleaf依赖 org.springframework.boot spring-boot-starter-thymeleaf 2、controller代码 3、properties文件里面关于thymeleaf的配置可以不写,它已经默认初始化过,除非你需要更改,否则就是重复初始化 4、如
相关文章
相关标签/搜索