|
|
|
@ -19,7 +19,7 @@ public class ThymeleafViewResolverConfig {
|
|
|
|
|
public SpringResourceTemplateResolver templateResolver() {
|
|
|
|
|
SpringResourceTemplateResolver templateResolver = new SpringResourceTemplateResolver();
|
|
|
|
|
//templateResolver.setPrefix("classpath:/templates");
|
|
|
|
|
templateResolver.setPrefix("/WEB-INF/templates/");
|
|
|
|
|
templateResolver.setPrefix("/WEB-INF/templates/thymeleaf");
|
|
|
|
|
templateResolver.setCharacterEncoding("UTF-8");
|
|
|
|
|
templateResolver.setSuffix(".html");
|
|
|
|
|
templateResolver.setTemplateMode("HTML5");
|
|
|
|
|