elibraryportal Logo

JSP Overview

→ It stand for Java Server Page . JSP is a technology that helps software developers create dynamically generated web pages based on HTML, XML, or other document types.

JSP is the extension of Servlet that solves both these problems by facilitating embedding of Dynamic Content Generation Logic into HTML and Auto Generation of Servlets. Each JSP page is translated into a Servlet which contains Dynamic Content Generation Logic as well as statements to write HTML contents to the output stream

JSP Overview
1.0Initial Request.
1.1Translated to.
1.3Instantiated & initialized.
1.4,2.2_jspService( );
1.5,2.3Contents Generated by _jspService( ) are sent as Response.
2.0Subsequent request
2.1Servlet object for the JSP is identified.


  • Easy to maintain code.
  • Fast Development, No need to recompile and redeploy.
  • JSP is built on Java technology, so it is platform independent.
  • High Performance and Scalability.
  • Less code than Servlet.


  • No separate business logic and presentation layer. Pages became massive.