tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup Embedded.java
Date Thu, 11 Oct 2001 23:13:00 GMT
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 {
  
  
  

Mime
View raw message