关于springboot 从controller返回到html页面

原文链接:http://www.javashuo.com/article/p-rbpiqbth-kw.html   一.不用模板引擎的时候。 这里列出以下几种情况进行分析。 1.  情况1 【yml配置】 【controller】 【静态文件目录】 【结果】 【结论】:此时访问的error12.html是static目录下的 。 spring配置视图为的时候  controller只需要 retu
相关文章
相关标签/搜索