springMVC+freemarker中Could not resolve view with name... 问题解决

来源:互联网 发布:举报windows盗版软件 编辑:程序博客网 时间:2024/06/06 16:33

转自文章:http://songze39.iteye.com/blog/1132414

问题原因是因为freemarker本身配置了templateLoaderPath   

而在viewResolver中不需要配置prefix,且路径前缀必须配置在templateLoaderPath中

0 0
原创粉丝点击