springboot项目访问静态资源 1、修改 pom.xml,添加 maven 相关依赖包 2、编写application.properties(可以设置端口,前缀后缀)spring.resources.static-locations默认静态查找目录 3、在static/中放置静态HTML网页 4、编写ShiyanlouController.java和SpringbootApplication.java 5、把图片放在upload下面就可以直接访问了
-
Notifications
You must be signed in to change notification settings - Fork 0
xinrG/firework-web
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published