Spring MVC Tutorial
Spring MVC is a way of using the Model-View-Controller architecture in Spring. Spring MVC is all the DispatcherServlet which acts as a FrontController. DispatcherServlet handles/dispatches all the requests to handlers (Controllers). The view resolvers identify which views to display. Handlers mainly are based on @Controller and @RequestMapping annotations. Using @Controller you can create Restservices as well.
We have created the customized Spring MVC tutorial, which will help you in understanding the Spring MVC concepts and give you a start in Spring MVC development.
Starting with Simple examples
Interceptors and Controllers
View Resolvers
- Spring MVC XML view Resolver
- Spring MVC JSP view Resolver
- Spring MVC ResourceBundleViewResolver
- Configure multiple View Resolvers together
- Spring MVC Redirect View examples
Attributes
- Spring MVC Attributes
- Spring MVC Session Attributes
- Spring MVC Model Attributes
- Spring MVC Flash Attributes
Form Handling
- Spring MVC Form Handling
- Spring MVC Checkbox
- Spring MVC select tag
- Spring MVC password tag
- Spring MVC Error tag
- Spring MVC Input Tag
- Spring MVC label Tag
- Spring MVC Radio Button
- Spring MVC text area
- Spring MVC hidden
File Upload
RequestParam and PathVariable
JSON AJAX and XML
- Spring MVC JSON Request example
- Spring MVC JSON Response example
- Spring MVC XML Response example
- Spring MVC Ajax handling using JQuery