springboot静态资源路径配置

自定义网页路径 1、在文件夹中定义 例如: webpage 是在res资源文件夹下建的文件夹 里面放的是网页 网页是aa.html 在application.properties 文件中写 spring.resources.static-locations= classpath:/webpage/ //这里是文件存放的真实路径 spring.mvc.stati
相关文章
相关标签/搜索