

























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Java server pages (jsps) are a technology used for creating dynamic web content on the server. They allow for the separation of application logic and web page design, platform independence, and component reuse. Jsps support both embedded javascript and tags, and go through a translation, compile, and execution phase when accessed by a client. An overview of jsp architecture and the life cycle of a jsp page.
Typology: Slides
1 / 33
This page cannot be seen from the preview
Don't miss anything!


























^ A^ text ‐
based^ document capable
of^ returning
both
static and
dynamic content
to^ a^ client
browser.
^ Static^ content^
and^ dynamic
content
can^ be
intermixed Static^ content– HTML,
XML,^ Text ^ Dynamic
content– Java^ code– Displaying^
properties
of^ JavaBeans
business
logic^ defined
in^ Custom
tags
-^ Reducing
-^ JSPs
-^ Tags provide
^ Translation
phase
^ Compile
phase ^ Execution
phase
^ JSP^ files
get^ translated
into^ servlet source
code,
which^ is
then^ compiled. ^ Done^ by
the^ container
automatically
^ The^ first
time^ JSP
page^ is^ accessed
after^ it^ is
deployed
(or^ modified
and^ redeployed) ^ For^ JSP
page^ “pageName”,
the^ source
code^ resides
^ Declare
methods
for^ performing
the^ following
tasks
using^ JSP
declaration
mechanism
configuration
data
resources
any^ other
one‐time
activities
by
overriding
jspInit()
method^
of^ JspPage interface
^ Declare
methods
for^ performing
the^ following
tasks
using^ JSP
declaration
mechanism
configuration
data
resources
any^ other
one‐time
cleanup^
activities
by
overriding
jspDestroy()
method^
of^ JspPage
interface
-^ Java
-^ This
-^ JSPs