JSP Tutorials - Herong's Tutorial Examples - v5.11, by Herong Yang
Relationship between Servlet and JSP
This section describes the relationship between of Servlet and JSP. Most JSP servers (containers) are implemented to support the JSP technology as an extension of the Servlet technology.
By looking at their specifications JSP and Servlet are 2 different technologies that can be used with Web servers to write dynamic HTTP responses:
But most JSP servers (containers) are implemented to support the JSP technology as an extension of the Servlet technology. JSP pages are first converted into Servlet classes internally before executing them.
The diagram below shows you how Apache Tomcat uses Servlet technology to serve JSP pages:
Table of Contents
JSP (JavaServer Pages) Overview
Tomcat Installation on Windows Systems
Creating and Deploying a Servlet on Tomcat
►Relationship between Servlet and JSP
Modifying the Servlet Converted from a JSP Page
Syntax of JSP Pages and JSP Documents
JavaBean Objects and "useBean" Action Elements
Managing HTTP Response Header Lines
Non-ASCII Characters Support in JSP Pages
Overview of JSTL (JSP Standard Tag Libraries)
Multiple Tags Working Together
Using Tomcat on CentOS Systems
Connecting to SQL Server from Servlet