SEO Home
» Programming Services in Java
»
JSP
JSP (Java Server Pages)
They are a direct extension of Java servlets and provide a way
to separate content generation from content presentation. JSP gives
us a way to glue together HTML, Java code and components by simply
creating a special webpage that will be dynamically compiled in
to a servlet the first time it is called.
When a request is made for the JSP document , the server recognizes
the *.jsp extension and realizes that special handling is required
and processed in the following format.
Client requests
a JSP page
JSPEngine
compiles the JSP into a servlet
The generated
servlet is compiled and loaded.
The compiled
servlet services the request and sends back the response to the
client.
Web Browser
A web browser can be thought of as a Universal user Interface responsible
for
Presenting
web content
Issuing requests
to the web server and
Handling
any results generated by the request.
Web server
Webserver is a program running on the server that listens for incoming
requests and services those requests as they come in depending up
on the type of request. It might search for the requested page or
at times execute a program on the server architecture.
Servlet Engine(Servlet Container)
Servlet interface to a particular server architecture through a
set of standard interface called Servlet Engine (to run servlets
we just can use any web server ,since servlets can be run using
a standalone servlet engine the web server doesn’t need to
support servlets).
|