Spring MVC

Spring WebMVC (or Spring MVC) contains Spring’s model-view-controller (MVC) and REST Web Services implementation for web applications.

mvc-architecture

Spring MVC (also called Spring WebMVC) is the Spring Framework module that builds web applications and REST web services on the model-view-controller (MVC) pattern, which splits an application into a model for the data, a view for the output and a controller for the request handling. The module is built around a DispatcherServlet, which receives every incoming request and passes it to the matching request handler method.

Spring MVC framework provides configurable options for URL mappings, view resolvers, error handling, application context, resource resolution, themes and i18n support.

Spring MVC separates the domain model from the web layer. It also works with other Spring modules, such as Spring Security and Spring Data.

1. Getting Started

2. Understanding Basics

3. Request Mapping and Controllers

4. Views and Forms

5. Resource Resolution

6. Validation

7. File Download and Upload

8. Error Handling

9. Interview Questions

Happy Learning !!

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.