Multiple choice technology

Through a ServletContext object, servlets can interact with their enviornment.

  1. True

  2. False

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

ServletContext provides an interface for servlets to interact with their runtime environment (the servlet container). Through ServletContext, servlets can access initialization parameters, container-wide resources, and share information with other servlets. It provides methods like getInitParameter(), getAttribute(), and log() to communicate with the container and application environment.