Support charset config by (static) resource location
This commit adds support for configuring static resource locations with a charset to be applied to relative paths.
This commit is contained in:
@@ -21,7 +21,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:resources mapping="/resources/**" location="/, classpath:/META-INF/">
|
||||
<mvc:resources mapping="/resources/**" location="/, classpath:/META-INF/, [charset=ISO-8859-1]file:///tmp">
|
||||
<mvc:resource-chain resource-cache="true" cache-manager="resourceCache" cache-name="test-resource-cache">
|
||||
<mvc:resolvers>
|
||||
<mvc:version-resolver>
|
||||
|
||||
Reference in New Issue
Block a user