springboot不用模板引擎跳转html
applicatio.properties加上:
#谁在前面先调用谁下面的index
spring.web.resources.static-locations=classpath:/public/,classpath:/static/,classpath:/templates/
spring.mvc.view.suffix=.html
return “index”;
直接返回index界面
详细:
https://www.cnblogs.com/guo-xu/p/11203740.html