Multiple choice technology programming languages

Which of the implicit objects won’t be available ?

  1. session, request

  2. exception, request

  3. exception, config

  4. session, exception

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In JSP, the session implicit object is unavailable if the page directive disables sessions (session="false"). The exception implicit object is only available on error pages (isErrorPage="true"). Thus, under standard configurations, both may be unavailable depending on the directives configured.