From a568f9877f8947bdb35c62161a05b0860a1e53ea Mon Sep 17 00:00:00 2001 From: Eugen Date: Tue, 30 Apr 2013 13:04:07 +0300 Subject: [PATCH] doc work --- README.md | 7 +++++-- spring-mvc/README.md | 4 ++++ spring-mvc/pom.xml | 3 ++- .../org/baeldung/spring/web/config/ClientWebConfig.java | 1 - spring-mvc/src/main/webapp/WEB-INF/web.xml | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 spring-mvc/README.md 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 + /