thymeleaf和jsp共用springmvc

thymeleaf和jsp共用注意返回的路径(花了两个小时,各种访问报错) 注意viewNames的路径和prefix和suffix是会拼接的 比如 prefix 是web-info/thymeleaf  viewNames是thymeleaf/*  return的路径是thymeleaf/xxx.html 就会匹配thymeleaf/* 那么也会和prefix和suffix拼接 路径就会成文we
相关文章
相关标签/搜索