yoavs 2004/02/05 08:19:36
Modified: webapps/docs/config context.xml
Log:
Added note about NOT placing context elements in server.xml
Revision Changes Path
1.7 +4 -3 jakarta-tomcat-catalina/webapps/docs/config/context.xml
Index: context.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/config/context.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- context.xml 30 Nov 2003 14:35:45 -0000 1.6
+++ context.xml 5 Feb 2004 16:19:36 -0000 1.7
@@ -37,8 +37,7 @@
directory hierarchy).</p>
<p>You may define as many <strong>Context</strong> elements as you
- wish, nested within a <a href="host.html">Host</a> element in
- <code>conf/server.xml</code>. Each such Context MUST have a unique
+ wish. Each such Context MUST have a unique
context path, which is defined by the <code>path</code> attribute.
In addition, you MUST define a Context with a context path equal to
a zero-length string. This Context becomes the <em>default</em>
@@ -53,7 +52,9 @@
Application Deployment</a> for more information. This method allows dynamic
reconfiguration of the web application, since the main
<code>conf/server.xml</code> file cannot be reloaded without restarting
- Tomcat.</p>
+ Tomcat. <b>Please note that for tomcat 5.x, unlike tomcat 4.x, it is NOT
+ recommended to place <Context> elements directory in the server.xml file.</b>
+ </p>
<p>In addition to explicitly specified Context elements, there are
several techniques by which Context elements can be created automatically
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]