springMvc---WebMvcConfigurationSupport

该类提供了主要的 MVC 配置方法,通过直接继承 WebMvcConfiguration ,并在继承类上 加上 @EnableWebMvc 和 @Configuration 注解之后。便可以在子类中实现父类的方法 ,更甚至可以实现含有@Bean 注解的方法



posted @ 2019-10-29 15:07  暗夜飞羽睿  阅读(1640)  评论(0编辑  收藏  举报