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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.baeldung</groupId>
|
<groupId>org.baeldung</groupId>
|
||||||
<artifactId>spring-mvc</artifactId>
|
<artifactId>spring-mvc</artifactId>
|
||||||
|
<version>0.1-SNAPSHOT</version>
|
||||||
|
|
||||||
<name>spring-mvc</name>
|
<name>spring-mvc</name>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
|
@ -137,5 +139,4 @@
|
||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<version>0.1-SNAPSHOT</version>
|
|
||||||
</project>
|
</project>
|
|
@ -11,7 +11,6 @@ import org.springframework.web.servlet.view.JstlView;
|
||||||
|
|
||||||
@EnableWebMvc
|
@EnableWebMvc
|
||||||
@Configuration
|
@Configuration
|
||||||
// @ComponentScan("org.package1.to.scan.web")
|
|
||||||
public class ClientWebConfig extends WebMvcConfigurerAdapter {
|
public class ClientWebConfig extends WebMvcConfigurerAdapter {
|
||||||
|
|
||||||
public ClientWebConfig() {
|
public ClientWebConfig() {
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
</servlet>
|
</servlet>
|
||||||
<servlet-mapping>
|
<servlet-mapping>
|
||||||
<servlet-name>mvc</servlet-name>
|
<servlet-name>mvc</servlet-name>
|
||||||
<url-pattern>*.html</url-pattern>
|
<url-pattern>/</url-pattern>
|
||||||
</servlet-mapping>
|
</servlet-mapping>
|
||||||
|
|
||||||
<welcome-file-list>
|
<welcome-file-list>
|
||||||
|
|
Loading…
Reference in New Issue