Introduction to JSP

Click to rate this post!
[Total: 0 Average: 0]

Introduction to JSP:

JSP innovation is utilized to make web application simply like Servlet innovation. It can be thought of as an expansion to servlet on the grounds that it gives more usefulness than servlet, for example, Expression dialect, JSTL .

A JSP page comprises of HTML labels and JSP labels. The JSP pages are less demanding to keep up than servlet in light of the fact that we can isolate planning and advancement. It gives some extra components, for example, Expression Language, Custom Tag is an introduction to JSP.

Advantage of JSP:

1) Extension to Servlet

2) Easy to maintain

3) Fast Development

4) Less code than Servlet

Life cycle of a JSP Page:
  • Translation of JSP Page
  • Compilation of JSP Page
  • Class loading
  • Instantiation
  • Initialization
  • Request processing

Destroy As portrayed in the above outline, JSP page is converted into servlet by the assistance of JSP interpreter. The JSP interpreter is a piece of webserver that is mindful to make an interpretation of the JSP page into servlet. After that Servlet page is incorporated by the compiler and gets changed over into the class record. In addition, every one of the procedures that occurs in servlet is performed on JSP later like instatement, submitting reaction to the program and obliterate.

 Life Cycle of JSP Page:

Introduction to JSP

JSP API:
  • servlet.jsp
  • servlet.jsp.tagext
javax.servlet.jsp package:
  1. JspPage
  2. HttpJspPage

Javax.servlet.jsp package:

  • JspWriter
  • PageContext
  • JspFactory
  • JspEngineInfo
  • JspException
  • JspError
Jsp Page interface:

All Servlet classes should be implements in Servlet interfaces and extends in to servlets.

Methods of JspPage interface:

  1. public void jspInit()
  2. public void jspDestroy()
Http JSP Page interface:

It is one cycle method in JSP and it extends the JSP interface page.

Method of HttpJspPage interface:

  1. public void _jspService()

The underscore _ connotes that you can’t supersede this strategy.

Subscribe
to our newsletter

Drop Us A Query

Trending Courses
  • Microsoft Azure Architect Technologies(AZ-300) | ITGuru
    Microsoft Azure Architect Technologies(AZ-300)
  • Azure is a great Microsoft Cloud Computing platform in providing various cloud services through online. ITGuru Certified Azure Architect certification course gives you the practical knowledge on Azure Cloud platform through real-world use cases from live experts

  • ServiceNow Admin Training | ITGuru
    ServiceNow Admin Training
  • Getting knowledge of cloud platforms like ServiceNow is essential in today’s world for the smooth running of projects in cloud platform. Turn your dream to the reality of becoming the Certified ServiceNow Administrator through ServiceNow Administration online certification Course with practical examples by live industry experts through online at ITGuru with real-world use cases.

  • Workday Financials Training | ITGuru
    Workday Financials Training
  • knowing the basics on any platform like Workday is not enough to sustain the IT industry. Hence it is essential to go beyond on Workday basics like Workday Financials training which lets you know the application of Financials management in real -world use cases from ITGuru Live Experts in a practical way.

  • Workday Training
  • An organization is considered as the best one when it offers the best benefits to the employee. Moreover, the greater the employee benefits, the greater the contribution to the organization. ITGuru let you know the practical workday Human Resource Management(HRM) features with live examples by experts

  • Python Online Course | ITGuru
    Python Online Course
  • Turn your dream into reality by ITGuru live experts with real-world use cases through practical knowledge on python online course and become the certified associate in python programming and become a master in python programming

  • Python Programming | ITGuru
    Python Programming
  • Python is the trending programming language in the IT industry. Mastering in python programming gives you more value among the people in the IT industry. Hence start today to learn python programming online by live experts with real-time uses cases at ITGuru


100% Secure Payments. All major credit & debit cards accepted.

Call Now Button