diff --git a/spring-mvc-no-xml/src/main/java/org/baeldung/spring/web/config/ClientWebConfig.java b/spring-mvc-no-xml/src/main/java/org/baeldung/spring/ClientWebConfig.java
similarity index 96%
rename from spring-mvc-no-xml/src/main/java/org/baeldung/spring/web/config/ClientWebConfig.java
rename to spring-mvc-no-xml/src/main/java/org/baeldung/spring/ClientWebConfig.java
index 945c1794fb..eaefb0984b 100644
--- a/spring-mvc-no-xml/src/main/java/org/baeldung/spring/web/config/ClientWebConfig.java
+++ b/spring-mvc-no-xml/src/main/java/org/baeldung/spring/ClientWebConfig.java
@@ -1,4 +1,4 @@
-package org.baeldung.spring.web.config;
+package org.baeldung.spring;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
diff --git a/spring-mvc-no-xml/src/main/webapp/WEB-INF/web.xml b/spring-mvc-no-xml/src/main/webapp/WEB-INF/web.xml
index d1256535ab..ebd3eaeb60 100644
--- a/spring-mvc-no-xml/src/main/webapp/WEB-INF/web.xml
+++ b/spring-mvc-no-xml/src/main/webapp/WEB-INF/web.xml
@@ -6,12 +6,18 @@
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id="WebApp_ID" version="3.0">
- Spring MVC Application
+ Spring MVC No XML Application
+
+ contextClass
+
+ org.springframework.web.context.support.AnnotationConfigWebApplicationContext
+
+
contextConfigLocation
- /WEB-INF/mvc-servlet.xml
+ org.baeldung.spring
diff --git a/spring-security-mvc-login/src/main/webapp/WEB-INF/web.xml b/spring-security-mvc-login/src/main/webapp/WEB-INF/web.xml
index c8d785a298..6ea0988649 100644
--- a/spring-security-mvc-login/src/main/webapp/WEB-INF/web.xml
+++ b/spring-security-mvc-login/src/main/webapp/WEB-INF/web.xml
@@ -1,50 +1,52 @@
-
+ http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ id="WebApp_ID" version="3.0">
- Spring MVC Application
+ Spring MVC Application
-
-
- contextClass
-
- org.springframework.web.context.support.AnnotationConfigWebApplicationContext
-
-
-
- contextConfigLocation
- org.baeldung.spring
-
+
+
+ contextClass
+
+ org.springframework.web.context.support.AnnotationConfigWebApplicationContext
+
+
+
+ contextConfigLocation
+ org.baeldung.spring
+
-
- org.springframework.web.context.ContextLoaderListener
-
+
+ org.springframework.web.context.ContextLoaderListener
+
-
-
- mvc
- org.springframework.web.servlet.DispatcherServlet
- 1
-
-
- mvc
- /
-
+
+
+ mvc
+ org.springframework.web.servlet.DispatcherServlet
+ 1
+
+
+ mvc
+ /
+
-
-
- springSecurityFilterChain
- org.springframework.web.filter.DelegatingFilterProxy
-
-
- springSecurityFilterChain
- /*
-
+
+
+ springSecurityFilterChain
+ org.springframework.web.filter.DelegatingFilterProxy
+
+
+ springSecurityFilterChain
+ /*
+
-
-
-
+
+
+
\ No newline at end of file