diff --git a/README.md b/README.md index 82864cb1dc..bae1a993f7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -tutorials +Spring Tutorials ========= -Baeldung tutorials +Spring MVC +========= +[Spring MVC Example with Java based Configuration](http://www.baeldung.com/spring-mvc-java-configuration) + diff --git a/spring-mvc/README.md b/spring-mvc/README.md new file mode 100644 index 0000000000..82864cb1dc --- /dev/null +++ b/spring-mvc/README.md @@ -0,0 +1,4 @@ +tutorials +========= + +Baeldung tutorials diff --git a/spring-mvc/pom.xml b/spring-mvc/pom.xml index aeb0e7f9fb..3700a428dd 100644 --- a/spring-mvc/pom.xml +++ b/spring-mvc/pom.xml @@ -3,6 +3,8 @@ 4.0.0 org.baeldung spring-mvc + 0.1-SNAPSHOT + spring-mvc war @@ -137,5 +139,4 @@ - 0.1-SNAPSHOT \ No newline at end of file diff --git a/spring-mvc/src/main/java/org/baeldung/spring/web/config/ClientWebConfig.java b/spring-mvc/src/main/java/org/baeldung/spring/web/config/ClientWebConfig.java index 93b0f9be79..2758a707e6 100644 --- a/spring-mvc/src/main/java/org/baeldung/spring/web/config/ClientWebConfig.java +++ b/spring-mvc/src/main/java/org/baeldung/spring/web/config/ClientWebConfig.java @@ -11,7 +11,6 @@ import org.springframework.web.servlet.view.JstlView; @EnableWebMvc @Configuration -// @ComponentScan("org.package1.to.scan.web") public class ClientWebConfig extends WebMvcConfigurerAdapter { public ClientWebConfig() { diff --git a/spring-mvc/src/main/webapp/WEB-INF/web.xml b/spring-mvc/src/main/webapp/WEB-INF/web.xml index a8e377b131..ba2bb591ed 100644 --- a/spring-mvc/src/main/webapp/WEB-INF/web.xml +++ b/spring-mvc/src/main/webapp/WEB-INF/web.xml @@ -32,7 +32,7 @@ mvc - *.html + /