Context parameters

A servlet context defines a server's view of the web application (.war) within which the servlet is running. The context also allows a servlet to access resources available to it.

Using the context, a servlet can log events, obtain URL references to resources, and set and store attributes that other servlets in the context can use. These properties declare a web application (.war)'s parameters for its context. They convey setup information, such as a webmaster's e-mail address or the name of a system that holds critical data.


See Also

Webapplications: Resources for learning