You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by cr...@apache.org on 2001/10/12 01:13:00 UTC

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup Embedded.java

craigmcc    01/10/11 16:13:00

  Modified:    catalina/src/share/org/apache/catalina/startup Tag:
                        tomcat_40_branch Embedded.java
  Log:
  Clarify the Javadoc comments about the creation of a default Context (i.e.
  a Context with a context path of "").  This Context will be used to
  process all requests not explicitly mapped to some other Context by
  matching the context path.  Catalina will in fact run without such a
  context, but any user request that is not mapped to some other context
  will receive an error 500.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.1  +7 -6      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/Embedded.java
  
  Index: Embedded.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/Embedded.java,v
  retrieving revision 1.11
  retrieving revision 1.11.2.1
  diff -u -r1.11 -r1.11.2.1
  --- Embedded.java	2001/09/11 20:28:41	1.11
  +++ Embedded.java	2001/10/11 23:13:00	1.11.2.1
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/Embedded.java,v 1.11 2001/09/11 20:28:41 craigmcc Exp $
  - * $Revision: 1.11 $
  - * $Date: 2001/09/11 20:28:41 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/Embedded.java,v 1.11.2.1 2001/10/11 23:13:00 craigmcc Exp $
  + * $Revision: 1.11.2.1 $
  + * $Date: 2001/10/11 23:13:00 $
    *
    * ====================================================================
    *
  @@ -113,8 +113,9 @@
    *     corresponding Engine with <code>engine.addChild(host)</code>.</li>
    * <li>Call <code>createContext()</code> to create at least one Context
    *     associated with each newly created Host, and then call its property
  - *     setters as desired.  You <strong>MUST</strong> create a Context with
  - *     a pathname equal to a zero-length string.  After you customize
  + *     setters as desired.  You <strong>SHOULD</strong> create a Context with
  + *     a pathname equal to a zero-length string, which will be used to process
  + *     all requests not mapped to some other Context.  After you customize
    *     this Context, add it to the corresponding Host with
    *     <code>host.addChild(context)</code>.</li>
    * <li>Call <code>addEngine()</code> to attach this Engine to the set of
  @@ -148,7 +149,7 @@
    * </pre>
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.11 $ $Date: 2001/09/11 20:28:41 $
  + * @version $Revision: 1.11.2.1 $ $Date: 2001/10/11 23:13:00 $
    */
   
   public class Embedded implements Lifecycle {