只要把写好的HTML页面放在classpath:/templates/ 下,thymeleaf就能自动渲染。 注意导入: <html lang="en" xmlns:th="http://www.thymeleaf.org">.
確定! 回上一頁