Page Implicit Object


a page is an implicit object in JSP as the type Object class. This object is allocated to the citation of the auto-created servlet class.

Mentioned below as:

Object page=this;

For making use of this object it should be cast to Servlet type.

For instance:

<% (HttpServlet)page.log("message"); %>

Considering it is one of the types of Objects it is less used as you can make use of this object straightly in jsp.

For instance:

<% this.log("message"); %>