The JSP API
The JSP API consists of two packages:
The javax.servlet.jsp package has two interfaces and classes.The two interfaces are as follows:
The classes are as follows:
The JspPage interface
According to the JSP specification, all the generated servlet classes must implement the JspPage interface. It extends the Servlet interface. It provides two life cycle methods.
Methods of JspPage interface
The HttpJspPage interface
The HttpJspPage interface provides the one life cycle method of JSP. It extends the JspPage interface.
Method of HttpJspPage interface:
We will learn all other classes and interfaces later.