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. The JSP engine compiles JSP files into a servlet, which it uses 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