ModelAndView + thymeleaf
废话不多说,直接上demo。
properties:
1 | # ----------------------Springmvc配置----------------------------- |
maven:
1 | <!-- thymeleaf --> |
controller:
1 | // 页面跳转controller |
html:
1 |
|
效果:
![](https://file.pandacode.cn/blog/2022119111119.png)
废话不多说,直接上demo。
properties:
1 | # ----------------------Springmvc配置----------------------------- |
maven:
1 | <!-- thymeleaf --> |
controller:
1 | // 页面跳转controller |
html:
1 |
|
效果: