Update MVC config to use CNM for static resources
The MVC config now plugs the configured ContentNegotiationManager into resource request handling. Issue: SPR-13658
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd">
|
||||
|
||||
<mvc:annotation-driven />
|
||||
<mvc:resources mapping="/resources/**" location="/, classpath:/META-INF/" />
|
||||
|
||||
</beans>
|
||||
|
||||
Reference in New Issue
Block a user