Site icon TestingDocs.com

JSP Architecture

Overview

In this tutorial, we will learn about JSP Architecture. JSP stands for Java Server Pages. JSP technology enables Java programmers to embed Java code into HTML pages. JSP files will be compiled into a servlet by the JSP engine. The compiled servlet is used by the JSP engine to serve the client’s requests.

JSP Interfaces

The main JSP interfaces are defined in the javax.servlet.jsp package. The interfaces are as follows::

These interfaces define the three methods for the compiled JSP page. The methods are as follows::

 

The compiled JSP file contains the above methods. The JSP engine generates the _jspService() method. Developers can define the jspInit() and jspDestroy() methods.

Java Tutorials

Java Tutorial on this website:

https://www.testingdocs.com/java-tutorial/

For more information on Java, visit the official website :

https://www.oracle.com/java/

Exit mobile version