Springboot访问html页面步骤解析

qqstrategy55120 9 0 pdf 2022-01-22 15:01:13

springboot中如果想访问html页面,不每访问一个页面就写一个Controller,可以统一写一个公共的controller方法代码:如页面路径在demo下,配置文件中servlet.context-path: /test则lhttp://localhost:8081/test/view/demo/...../XXX.html

Springboot访问html页面步骤解析

用户评论
请输入评论内容
评分:
暂无评论