Best Jsp Course - PowerPoint PPT Presentation

About This Presentation
Title:

Best Jsp Course

Description:

Java Server Page (JSP) is a technology which helps to develop HTML, XML-based dynamic web pages. Sun Microsystems has released Java Server pages in the year 1999. – PowerPoint PPT presentation

Number of Views:41

less

Transcript and Presenter's Notes

Title: Best Jsp Course


1
JSP (JavaServer Pages)
bestonlinecoursescoupon.com
2
Features of JSP (JavaServer Pages)
Architecture Lifecycle Scriptlet JSP directives
and actions Client Request Server Response HTTP
status codes Filters Cookies handling Handling
Date and Page Direct
java server page
3
Architecture
JSP is the server-side programming technology.
The web server needs the JSP engine to process
the JSP pages Create the web page using the JSP
such as, normal page the browser sends a request
to the web server. And then the server
recognizes that request for JSP page and
forwards to JSP engine. JSP engine compiles the
servlet into an executable class.
4
Lifecycle of jsp
Individual paths followed by the JSP are
compilation, initialization, execution and
cleanup. Three steps involved in JSP such as
parsing, turning into a servlet and compiling
the servlet. The cleanup phase defines when a
JSP is removed from use by the container.
5
Scriptlet of jsp
This contains any number of JAVA language
statements, such as
declarations
expressions
variables
6
JSP directives and actions
The directive affects the overall structure of
the class and usually has the three types of the
tag such as 1)lt_at_ page gt, 2)lt_at_ include gt
3)lt_at_ taglib gt The action elements are
jspusebean, jspforward, JSPelement and much
more.
7
Client Request
When a browser request for a webpage, it sends
the lot of information which cannot be read
directly since the information travel as the
part of HTTP request.
8
Server Response
  • when a web server responds to a request, and the
    request typically consists of
  • status line
  • response headers
  • a blank line,and
  • the document
  • Headers on the server side are allowed,
  • cache control
  • connection
  • content-disposition etc,.

9
HTTP status codes
HTTP status code such as, public void set status
(int status code), public void send a redirect
(String URL), and public void sends error (int
code, String message).
10
Filters in jsp
Filters used in servlet and JSP programming for
the purposes such as to intercept requests from
the client. There are various types of filters
such as authentication filter, data compression
filter, encryption filter, filters that trigger
resource, image conversion filters, and logging.
11
Cookies handling
It is the text files stored on the client
computer. It kept various information. There are
three steps involved in the identifying such as
server script sends set of cookies to the
browser, browser stores the information on the
local machine, and the next time sends a request
to the web server.
12
Handling Date and Page Direct
  • In this data class support the two constructors,
    the first initializes the object with the
    current date and the second accepts the one
    argument that equals to the number of
    milliseconds. The simple way to direct the
    request is by using the method sendRedirect ().

13
Best Jsp Course 2017
linkable link
JSP, Servlets, and JBDC for Beginners JSP and
Java Servlets Servlets and JSP tutorial JSP,
Servlet, and JSTL tutorial JDBC Servlets and JSP
Best Jsp Course Online
14
IN
best_coursess
bestcourse
Bestconlinecoursescoupon
15
Thanks for your time
bestonlinecoursescoupon.com
Write a Comment
User Comments (0)
About PowerShow.com