|
|
Re: Servlet Context
|
Posted: Nov 18, 2003 1:24 AM
|
|
An object containing servlet information about the Web application of which the servlet is a part. Using the context, 1. A servlet can log events, 2. Obtain URL references to resources, and 3. Set and store context attributes for other servlets in the same context.
The ServletContext interface 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. more on API look here.. http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContext.html
|
|