JSP/Servlet | Servlets and JSP/HTML

Servlets are usually used to exchange data between HTML or JSP pages and servlets, rather than being used alone. This section explains the features needed to exchange and share data between them, including storing values in request, session, and application scopes, as well as forward and redirect.