web开发-Spring|web开发-Spring Boot静态资源文件夹
-
/**
访问当前项目静态文件夹的任何资源
【web开发-Spring|web开发-Spring Boot静态资源文件夹】classpath:/META-INF/resources/
classpath:/resources/
classpath:/static/
classpath:/public/
/ (当前项目根路径)
- 欢迎页:静态资源文件夹下的所有
index.html
都被/**
映射 - 所有的
**/favorite.icon
都是在静态资源文件夹下找 - 静态资源文件夹可以自己再配置文件中指定
spring.resources.static-location=classpath:/xxx
推荐阅读
- 深入理解Go之generate
- 标签、语法规范、内联框架、超链接、CSS的编写位置、CSS语法、开发工具、块和内联、常用选择器、后代元素选择器、伪类、伪元素。
- 私有化轻量级持续集成部署方案--03-部署web服务(下)
- web网页模板|如此优秀的JS轮播图,写完老师都沉默了
- 我的软件测试开发工程师书单
- spring|spring boot项目启动websocket
- echart|echart 双轴图开发
- NPDP拆书(三)(新产品开发战略(经营与创新战略))
- OC:|OC: WKWebView详解
- 芯灵思SinlinxA33开发板Linux内核定时器编程