Components and Containers
The JavaServer Pages technology builds on the Servlet standard extension. JavaServer Pages
is a Standard Extension that is defined extending the concepts in the Servlet Standard
Extension. JSP 1.1 uses the classes from Java Servlet 2.2 specification.
JSP pages and Servlet classes are collectively referred as
. JSP pages are
delivered to a
that provides the services indicated in the
JSP Component Contract
JSP 1.1 and Servlet 2.2 rely only on features in the Java Runtime Environment 1.1, although
they are compatible with, and can take advantage of, the Java 2 Runtime Environment.
Features in JSP 1.1
The JavaServer Pages specification includes:
Script language declarations, scriptlets and expressions
A portable tag extension mechanism.
Most of the integration of JSP pages within the J2EE platform is inherited from the reliance
on the Servlet 2.2 specification.
Overview of JSP Page Semantics
This section provides an overview of the semantics of JSP pages
Translating and Executing JSP Pages
is executed in a
, which is installed on a Web server, or on a Web
enabled application server. The JSP container delivers
from a client to a JSP page
from the JSP page to the client. The semantic model underlying JSP pages is
that of a servlet: a JSP page describes how to create a response object from a request object
for a given protocol, possibly creating and/or using in the process some other objects.