Skip to content

Commit cab8e4d

Browse files
author
eugenp
committed
spring mvc work
1 parent 1805d42 commit cab8e4d

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

spring-mvc-xml/src/main/java/org/baeldung/spring/ClientWebConfigOld.java renamed to spring-mvc-xml/src/main/java/org/baeldung/spring/ClientWebConfigJava.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
//@EnableWebMvc
1111
//@Configuration
12-
public class ClientWebConfigOld extends WebMvcConfigurerAdapter {
12+
public class ClientWebConfigJava extends WebMvcConfigurerAdapter {
1313

14-
public ClientWebConfigOld() {
14+
public ClientWebConfigJava() {
1515
super();
1616
}
1717

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:mvc="http://www.springframework.org/schema/mvc"
3-
xmlns:context="http://www.springframework.org/schema/context"
2+
<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"
43
xsi:schemaLocation="
54
http://www.springframework.org/schema/beans
6-
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
7-
http://www.springframework.org/schema/context
8-
http://www.springframework.org/schema/context/spring-context-4.0.xsd
5+
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
96
http://www.springframework.org/schema/mvc
10-
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">
7+
http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd">
118

129
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
1310
<property name="prefix" value="/WEB-INF/view/" />

0 commit comments

Comments
 (0)