Spring web layer is used to create web-based applications. It is comprised of the following modules:
- Web: This module provides basic web-related features such as multipart file upload (with the help of Spring custom tags in JSP). It is also responsible for initialization of IoC containers in web context.
- Servlet: This module provides implementation of Spring MVC (Model View Controller) for web-based applications. It provides clear separation of views (presentation layer) from models (business logic), and controls the flow between them with controllers.
- Portlet: This module provides MVC implementation for a portlet, and it is mainly used in portal environments.