Multiple choice technology web technology

The variable accessed using this object has scope of which type?

  1. session

  2. application

  3. request

  4. page

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

In JSP, the 'page' scope refers to objects with the shortest lifecycle - they exist only within the current page. Session scope spans a user session, application scope is app-wide, and request scope lasts for one HTTP request. The pageContext object has page scope.