What is meant by implicit objects and what are they?

Solution:

JSP implicit objects are those Java objects that the JSP Container makes available to developers in each page. A developer can call them directly, without being explicitly declared. JSP Implicit Objects are also called pre-defined variables.The following objects are considered implicit in a JSP page:

  • application
  • page
  • request
  • response
  • session
  • exception
  • out
  • config
  • pageContext

JSP sample tags for disabling session is shown below:

Disabling Session

<%@ page session=“false” %> 

0 answers