|
|
|
|
@ -1,9 +1,9 @@
@@ -1,9 +1,9 @@
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans" |
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
|
|
|
xmlns:mvc="http://www.springframework.org/schema/mvc" |
|
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd |
|
|
|
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> |
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
|
|
|
xmlns:mvc="http://www.springframework.org/schema/mvc" |
|
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.2.xsd |
|
|
|
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd"> |
|
|
|
|
|
|
|
|
|
<mvc:view-resolvers> |
|
|
|
|
<mvc:bean-name/> |
|
|
|
|
@ -20,8 +20,8 @@
@@ -20,8 +20,8 @@
|
|
|
|
|
<bean id="customResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"/> |
|
|
|
|
|
|
|
|
|
<mvc:tiles-configurer check-refresh="true" validate-definitions="true" |
|
|
|
|
definitions-factory="org.apache.tiles.definition.UnresolvingLocaleDefinitionsFactory" |
|
|
|
|
preparer-factory="org.springframework.web.servlet.view.tiles3.SpringBeanPreparerFactory"> |
|
|
|
|
definitions-factory="org.apache.tiles.definition.UnresolvingLocaleDefinitionsFactory" |
|
|
|
|
preparer-factory="org.springframework.web.servlet.view.tiles3.SpringBeanPreparerFactory"> |
|
|
|
|
<mvc:definitions location="/org/springframework/web/servlet/resource/tiles/tiles1.xml"/> |
|
|
|
|
<mvc:definitions location="/org/springframework/web/servlet/resource/tiles/tiles2.xml"/> |
|
|
|
|
</mvc:tiles-configurer> |
|
|
|
|
@ -35,9 +35,8 @@
@@ -35,9 +35,8 @@
|
|
|
|
|
|
|
|
|
|
<mvc:groovy-configurer resource-loader-path="/test" cache-templates="false" auto-indent="true"/> |
|
|
|
|
|
|
|
|
|
<mvc:script-template-configurer engine-name="nashorn" render-function="render" |
|
|
|
|
content-type="text/plain" charset="ISO-8859-1" |
|
|
|
|
resource-loader-path="classpath:" shared-engine="false"> |
|
|
|
|
<mvc:script-template-configurer engine-name="nashorn" render-function="render" content-type="text/plain" |
|
|
|
|
charset="ISO-8859-1" resource-loader-path="classpath:" shared-engine="false"> |
|
|
|
|
<mvc:script location="org/springframework/web/servlet/view/script/nashorn/render.js"/> |
|
|
|
|
</mvc:script-template-configurer> |
|
|
|
|
|
|
|
|
|
|