-
Book Overview & Buying
-
Table Of Contents
Tomcat 6 Developer's Guide
An instance of this configurator class is added as a lifecycle listener of a Host component during its startup phase. This listener processes the start, stop, and periodic lifecycle events for its associated Host.
The primary function of this configurator is to deploy the web application contexts of its Host. In this section, we'll take a closer look at how the deployer handles this function.
A Context is represented by an org.apache.catalina.core.StandardContext instance. The deployment of a web application involves the instantiation of this class and initializing it with the properties of the<Context> element.
The<Context> element can either be found as a child of the<Host> element within the server.xml file, or it can be found as a standalone XML file known as a context fragment file. The file is called a fragment because it contains just a lone<Context> element.
Irrespective of its location, the purpose of the<Context...
Change the font size
Change margin width
Change background colour