To answer this question, you need to understand the implicit objects available in JSP pages.
The implicit variable available to JSP pages that may be used to access all the other implicit objects is the pageContext
object.
Let's go through each option to understand why it is correct or incorrect:
Option A) page
- This option is incorrect because the page
object is not available as an implicit object in JSP pages.
Option B) pageContext
- This option is correct because the pageContext
object is available as an implicit object in JSP pages and it provides access to all the other implicit objects.
Option C) context
- This option is incorrect because the context
object is not available as an implicit object in JSP pages.
Option D) object
- This option is incorrect because the object
object is not available as an implicit object in JSP pages.
Option E) jspPage
- This option is incorrect because the jspPage
object is not available as an implicit object in JSP pages.
The correct answer is B) pageContext
. This option is correct because the pageContext
object is available as an implicit object in JSP pages and it provides access to all the other implicit objects.