Page Implicit Object

Advertisements

Config Implicit Object Session Implicit Object

Page Implicit Object

In JSP, page is an implicit object of type Object class. When a jsp is translated to an internal Servlet, we can find the following statement in the service() method of servlet.
Object page=this;

For using this object it must be cast to Servlet type.For example:

Example

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

Since, it is of type Object it is less used because you can use this object directly in jsp.For example:

Example

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

Config Implicit Object Session Implicit Object

Google Advertisment

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 9999595223

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

For Projects 9999595223

Google Advertisements


Buy Websites 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs

Advertisements