Skip to content

Commit 88b009b

Browse files
khatwaniNikhilEugen
authored andcommitted
Bael 1469 (eugenp#3439)
* Changes for BAEL-1469 Upgrade the Spring MVC article * web.xml changes for servlet 3.1 * BAEL-1469 upgrade xsd
1 parent 9f49641 commit 88b009b

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎spring-mvc-xml/src/main/resources/contentManagementWebMvcConfig.xml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
xmlns:mvc="http://www.springframework.org/schema/mvc"
55
xsi:schemaLocation="
66
http://www.springframework.org/schema/beans
7-
http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
7+
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
88
http://www.springframework.org/schema/context
9-
http://www.springframework.org/schema/context/spring-context-4.2.xsd
9+
http://www.springframework.org/schema/context/spring-context-4.3.xsd
1010
http://www.springframework.org/schema/mvc
11-
http://www.springframework.org/schema/mvc/spring-mvc-4.2.xsd">
11+
http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd">
1212

1313
<mvc:annotation-driven content-negotiation-manager="contentNegotiationManager" />
1414
<context:component-scan base-package="com.baeldung.spring.controller" />

‎spring-mvc-xml/src/main/resources/webMvcConfig.xml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
xmlns:mvc="http://www.springframework.org/schema/mvc"
44
xsi:schemaLocation="
55
http://www.springframework.org/schema/beans
6-
http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
6+
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
77
http://www.springframework.org/schema/context
8-
http://www.springframework.org/schema/context/spring-context-4.2.xsd
8+
http://www.springframework.org/schema/context/spring-context-4.3.xsd
99
http://www.springframework.org/schema/mvc
10-
http://www.springframework.org/schema/mvc/spring-mvc-4.2.xsd"
10+
http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd"
1111
>
1212

1313
<mvc:annotation-driven>

‎spring-mvc-xml/src/main/webapp/WEB-INF/mvc-servlet.xml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<beans xmlns="http://www.springframework.org/schema/beans"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
44
xmlns:context="http://www.springframework.org/schema/context"
5-
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
5+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
66
http://www.springframework.org/schema/mvc
7-
http://www.springframework.org/schema/mvc/spring-mvc-4.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
7+
http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
88

99

1010
<context:component-scan base-package="com.baeldung.spring.controller"/>
@@ -58,4 +58,4 @@
5858
<!-- End: Mapping by ControllerClassNameHandlerMapping with prefix -->
5959

6060

61-
</beans>
61+
</beans>

0 commit comments

Comments
 (0)