58、springmvc-定制与接管SpringMVC

58、springmvc-定制与接管SpringMVC

定制SpringMVC;

1)、@EnableWebMvc:开启SpringMVC定制配置功能;

<mvc:annotation-driven/>;

2)、配置组件(视图解析器、视图映射、静态资源映射、拦截器。。。)

extends WebMvcConfigurerAdapter

原文地址:https://www.cnblogs.com/Grand-Jon/p/10089365.html