Thursday, 19 January 2017

What are implicit objects in JSP?

Implicit objects in JSP are the Java objects that the JSP Container makes available to developers in each page. These objects need not be declared or instantiated by the JSP author. They are automatically instantiated by the container and are accessed using standard variables; hence, they are called implicit objects. The implicit objects available in JSP are as follows:

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

The implicit objects are parsed by the container and inserted into the generated servlet code. They are available only within the jspService() method and not in any declaration.

No comments:

Post a Comment