doc work
This commit is contained in:
parent
35fbbd7822
commit
a568f9877f
|
@ -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)
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
tutorials
|
||||
=========
|
||||
|
||||
Baeldung tutorials
|
|
@ -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>
|
|
@ -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() {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue