This commit is contained in:
Eugen 2013-04-30 13:04:07 +03:00
parent 35fbbd7822
commit a568f9877f
5 changed files with 12 additions and 5 deletions

View File

@ -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)

4
spring-mvc/README.md Normal file
View File

@ -0,0 +1,4 @@
tutorials
=========
Baeldung tutorials

View File

@ -3,6 +3,8 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.baeldung</groupId>
<artifactId>spring-mvc</artifactId>
<version>0.1-SNAPSHOT</version>
<name>spring-mvc</name>
<packaging>war</packaging>
@ -137,5 +139,4 @@
</properties>
<version>0.1-SNAPSHOT</version>
</project>

View File

@ -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() {

View File

@ -32,7 +32,7 @@
</servlet>
<servlet-mapping>
<servlet-name>mvc</servlet-name>
<url-pattern>*.html</url-pattern>
<url-pattern>/</url-pattern>
</servlet-mapping>
<welcome-file-list>