Spring Boot
马大聪明
Null != Undefined
展开
-
spring boot 中 对 Spring MVC 功能的扩展 以及全面接管MVC
全面接管Spring MVC If you want to keep Spring Boot MVC features, and you just want to add additional [MVC configuration] (interceptors, formatters, view controllers etc.) you can add your own `@Configuration` class of type `WebMvcConfigurerAdapter`, but w...原创 2020-12-12 23:23:01 · 216 阅读 · 0 评论 -
spring boot 的静态资源处理
spring boot 的静态资源处理 WebMvcAuotConfiguration: @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { if (!this.resourceProperties.isAddMappings()) { logger.debug("Default resource handling disabled"); return; }原创 2020-12-12 22:09:32 · 180 阅读 · 1 评论