host</li>
<li>in individual files (with a ".xml" extension) in the
<code>$CATALINA_HOME/conf/[enginename]/[hostname]/</code> directory.
- The name of the file (less the .xml) extension will be used as the
+ The name of the file (less the .xml extension) will be used as the
context path. Multi-level context paths may be defined using #, e.g.
<code>context#path.xml</code>. The default web application may be defined
by using a file called <code>ROOT.xml</code>.</li>
<blockquote><em>
<p>The description below uses the variable name $CATALINA_HOME
- to refer to the directory into which you have installed Tomcat 5,
+ to refer to the directory into which you have installed Tomcat 6,
and is the base directory against which most relative paths are
- resolved. However, if you have configured Tomcat 5 for multiple
+ resolved. However, if you have configured Tomcat 6 for multiple
instances by setting a CATALINA_BASE directory, you should use
$CATALINA_BASE instead of $CATALINA_HOME for each of these
references.</p>
nesting a <strong>Listener</strong> element inside this element. The
class name you specify must implement the
<code>org.apache.catalina.LifecycleListener</code> interface, and
- it will be notified about the occurrence of the coresponding
+ the class must be packaged in a jar and placed in the
+ <code>$CATALINA_HOME/lib</code> directory.
+ It will be notified about the occurrence of the corresponding
lifecycle events. Configuration of such a listener looks like this:</p>
<source>