转自文章:http://songze39.iteye.com/blog/1132414
问题原因是因为freemarker本身配置了templateLoaderPath
而在viewResolver中不需要配置prefix,且路径前缀必须配置在templateLoaderPath中
本文深入探讨了Freemarker模板加载路径配置问题,解释了为何在viewResolver中无需重复配置路径前缀,并强调了这一配置应在templateLoaderPath中统一管理。
转自文章:http://songze39.iteye.com/blog/1132414
问题原因是因为freemarker本身配置了templateLoaderPath
而在viewResolver中不需要配置prefix,且路径前缀必须配置在templateLoaderPath中
848
3859
1万+
2万+
995

被折叠的 条评论
为什么被折叠?