Spring Boot秒换肤,非常舒适!
在不同的 properties 配置文件中引入不同的样式,但是样式定义的 key 都是 index.body,这样方便后期在页面中引入。 接下来在 SpringMVC 容器中配置三个 Bean,如下: mvc:interceptors mvc:interceptor mvc:mappingpath= /** / beanclass= org.springframew
在不同的 properties 配置文件中引入不同的样式,但是样式定义的 key 都是 index.body,这样方便后期在页面中引入。 接下来在 SpringMVC 容器中配置三个 Bean,如下: mvc:interceptors mvc:interceptor mvc:mappingpath= /** / beanclass= org.springframew