很简单,把静态页面放在static文件夹下面,就能通过地址栏输入html文件名的方式访问了

SpringBoot如何直接访问HTML页面_html

SpringBoot如何直接访问HTML页面_html_02