SpringBoot - 静态资源

1、从classpath/static  的目录访问静态资源

注意:resources下的目录名称必须为static

 

启动并访问:http://localhost:8080/index.html

 

posted @ 2018-10-06 20:50  Simple°  阅读(122)  评论(0编辑  收藏  举报