|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <beans xmlns="http://www.springframework.org/schema/beans"
|
3 |
| - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 |
| - xmlns:mvc="http://www.springframework.org/schema/mvc" |
5 |
| - xsi:schemaLocation=" |
6 |
| - http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd |
7 |
| - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xmlns:mvc="http://www.springframework.org/schema/mvc" |
| 5 | + xsi:schemaLocation=" |
| 6 | + http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.2.xsd |
| 7 | + http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd"> |
8 | 8 |
|
9 | 9 | <!--
|
10 | 10 | View resolution finds the ContentNegotiationManager created by or
|
11 | 11 | registered with <mvc:annotation-driven>. Or in its absence simply declare it.
|
12 | 12 | -->
|
13 | 13 |
|
14 |
| - <bean id="mvcContentNegotiationManager" |
15 |
| - class="org.springframework.web.accept.ContentNegotiationManagerFactoryBean"/> |
| 14 | + <bean id="mvcContentNegotiationManager" class="org.springframework.web.accept.ContentNegotiationManagerFactoryBean"/> |
16 | 15 |
|
17 | 16 | <mvc:view-resolvers>
|
18 | 17 | <mvc:content-negotiation use-not-acceptable="true">
|
19 | 18 | <mvc:default-views>
|
20 |
| - <bean class="org.springframework.web.servlet.view.json.MappingJackson2JsonView" /> |
| 19 | + <bean class="org.springframework.web.servlet.view.json.MappingJackson2JsonView"/> |
21 | 20 | </mvc:default-views>
|
22 | 21 | </mvc:content-negotiation>
|
23 |
| - <mvc:bean-name /> |
24 |
| - <mvc:jsp /> |
25 |
| - <mvc:tiles /> |
26 |
| - <mvc:freemarker /> |
27 |
| - <mvc:velocity /> |
28 |
| - <mvc:groovy /> |
29 |
| - <mvc:script-template /> |
| 22 | + <mvc:bean-name/> |
| 23 | + <mvc:jsp/> |
| 24 | + <mvc:tiles/> |
| 25 | + <mvc:freemarker/> |
| 26 | + <mvc:velocity/> |
| 27 | + <mvc:groovy/> |
| 28 | + <mvc:script-template/> |
30 | 29 | </mvc:view-resolvers>
|
31 | 30 |
|
32 | 31 | <mvc:tiles-configurer check-refresh="true">
|
33 |
| - <mvc:definitions location="/org/springframework/web/servlet/resource/tiles/tiles1.xml" /> |
| 32 | + <mvc:definitions location="/org/springframework/web/servlet/resource/tiles/tiles1.xml"/> |
34 | 33 | </mvc:tiles-configurer>
|
35 | 34 |
|
36 | 35 | <mvc:freemarker-configurer>
|
37 |
| - <mvc:template-loader-path location="/org/springframework/web/servlet/view" /> |
| 36 | + <mvc:template-loader-path location="/org/springframework/web/servlet/view"/> |
38 | 37 | </mvc:freemarker-configurer>
|
39 | 38 |
|
40 |
| - <mvc:velocity-configurer resource-loader-path="/org/springframework/web/servlet/view" /> |
| 39 | + <mvc:velocity-configurer resource-loader-path="/org/springframework/web/servlet/view"/> |
41 | 40 |
|
42 |
| - <mvc:groovy-configurer /> |
| 41 | + <mvc:groovy-configurer/> |
43 | 42 |
|
44 | 43 | <mvc:script-template-configurer engine-name="nashorn" render-function="render"/>
|
45 | 44 |
|
|
0 commit comments