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
Web Components
. JSP pages are
delivered to a
Container
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.
1.3
Features in JSP 1.1
The JavaServer Pages specification includes:
Standard directives
Standard actions
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.
1.4
Overview of JSP Page Semantics
This section provides an overview of the semantics of JSP pages
1.4.1
Translating and Executing JSP Pages
A
JSP page
is executed in a
JSP container
, which is installed on a Web server, or on a Web
enabled application server. The JSP container delivers
requests
from a client to a JSP page
and
responses
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.
Chapter 1
Overview
22
JSP Web Hosting JavaServer Pages Specifications JSP Hosting
|
|
|
|
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved. |