摘要: 转载:https://www.cnblogs.com/magicalSam/p/7189476.html 1、静态资源路径是指系统可以直接访问的路径,且路径下的所有文件均可被用户通过浏览器直接读取。 2、在Springboot中默认的静态资源路径有:classpath:/META-INF/resou 阅读全文
posted @ 2018-07-10 23:17 喂,我养你啊 阅读(365) 评论(0) 推荐(0)
摘要: 在springboot出现之前,spring项目会存在多个配置文件,如web.xml,配置spring的多个spring-xxx.xml,xxx代表配置spring的某一功能,如aplication-datasource.xml、 appliction-mvc.xml。应用自身也需要多个配置文件,还 阅读全文
posted @ 2018-07-10 18:33 喂,我养你啊 阅读(450) 评论(0) 推荐(0)
摘要: 1、@SpringBootApplication注解 复合注解:包含@EnableAutoConfiguration、@ComponentScan、@SpringBootConfiguration a 、@EnableAutoConfiguration:也是复合注解、借助@Import将所有符合自动 阅读全文
posted @ 2018-07-10 16:50 喂,我养你啊 阅读(641) 评论(0) 推荐(0)
摘要: 首先申明一下本文是转载自https://blog.csdn.net/fly_zhyu/article/details/76407830; 1. Spring Boot是什么,解决哪些问题 1) Spring Boot使编码变简单 2) Spring Boot使配置变简单 3) Spring Boot 阅读全文
posted @ 2018-07-10 16:18 喂,我养你啊 阅读(390) 评论(0) 推荐(0)