spring-logo

Spring MVC, a Java Model View Controller web framework, is a modular extension on the core spring framework. You can plug it into your application very easy. by embracing convention-over-configuration, getting a Spring MVC application running can be




Spring MVC Handler Mapping examples


Using a handler mapping you can map incoming web requests to appropriate handlers. There are some handler mappings you can use out of the box, for example, the SimpleUrlHandlerMapping or the BeanNameUrlHandlerMapping.

arrow-right   Spring MVC 3 SimpleUrlHandlerMapping
     How to use Spring SimpleUrlHandlerMapping

arrow-right   Spring MVC 3 BeanNameUrlHandlerMapping
     Mapping url to controller


Spring MVC Controller examples


We will go through the first steps of working with spring MVC, the following code examples will help you to get started.

arrow-right   Spring MVC 3 example XML config
     Spring MVC using xml based configuration. Understanding the very basics of Spring MVC.

arrow-right   Spring MVC 3 example annotation config
     Create a controller with annotation


Spring MVC 3 Form handling


In the following tutorials I will address Spring MVC 3 Form handling capabilities. Form processing, Validation and Messages.

arrow-right   Spring MVC 3 Form processing Annotation config
     Form processing with annotation config

arrow-right   Spring MVC 3 Form processing XML config
     Processing forms with Spring MVC

arrow-right   Spring MVC 3 Form Validation XML config
     Validating a Spring MVC form