关于springboot 从controller返回到html页面

一.不用模板引擎的时候。 这里列出如下几种状况进行分析。html 1. yml配置jquery controllerspring 静态文件目录:缓存 结果:springboot 结论:此时访问的error12.html是static目录下的 。 spring配置视图为的时候  controller只须要 return "error12";mvc 2.yml配置app controller配置yii
相关文章
相关标签/搜索