|
A servlet context is an abstraction and mapping to the document root of an individual Web application and the resources relative to that document root. The ServletContext object enables you to set, get and change Web application-scope attribute values.
It gives servlets access to information about their environment, and allows them to log significant events. Servlet writers decide what data to log. The interface is implemented by services, and used by servlets.
|