Multiple choice technology architecture

Attributes bound into session are available to any other servlet that belong to the same ServletContext?

  1. True

  2. False

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

Session attributes are stored in the HttpSession object and are accessible to any servlet within the same ServletContext (web application). The ServletContext defines the scope of a web application, so servlets sharing the same context can access session attributes created by any other servlet in that context. This is a fundamental feature of session management for maintaining state across multiple servlet interactions.