tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@hyperreal.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/jasper/runtime ServletEngine.java TomcatServletEngine.java
Date Fri, 15 Oct 1999 00:35:37 GMT
akv         99/10/14 17:35:36

  Modified:    src/share/org/apache/jasper/runtime ServletEngine.java
                        TomcatServletEngine.java
  Log:
  Whew! I'm glad this ugliness is slowly dying.
  
  Revision  Changes    Path
  1.2       +4 -12     jakarta-tomcat/src/share/org/apache/jasper/runtime/ServletEngine.java
  
  Index: ServletEngine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/ServletEngine.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ServletEngine.java	1999/10/09 00:20:40	1.1
  +++ ServletEngine.java	1999/10/15 00:35:32	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/ServletEngine.java,v
1.1 1999/10/09 00:20:40 duncan Exp $
  - * $Revision: 1.1 $
  - * $Date: 1999/10/09 00:20:40 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/ServletEngine.java,v
1.2 1999/10/15 00:35:32 akv Exp $
  + * $Revision: 1.2 $
  + * $Date: 1999/10/15 00:35:32 $
    *
    * ====================================================================
    * 
  @@ -86,7 +86,7 @@
        * we are running on.
        */
       static ServletEngine getServletEngine(String serverInfo) {
  -        if (serverInfo.startsWith("Java Server Web Dev Kit")) {
  +        if (serverInfo.startsWith("Tomcat Web Server")) {
               if (tomcat == null) {
                   try {
                       tomcat = (ServletEngine)
  @@ -107,14 +107,6 @@
        * Get the class loader for this ServletContext object. 
        */
       public ClassLoader getClassLoader(ServletContext ctx) {
  -        return null;
  -    }
  -
  -    /**
  -     * Get the class path for this ServletContext object. This is needed for
  -     * JSP compilation.
  -     */
  -    public String getClassPath(ServletContext ctx) {
           return null;
       }
   }
  
  
  
  1.2       +3 -7      jakarta-tomcat/src/share/org/apache/jasper/runtime/TomcatServletEngine.java
  
  Index: TomcatServletEngine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/TomcatServletEngine.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TomcatServletEngine.java	1999/10/09 00:20:39	1.1
  +++ TomcatServletEngine.java	1999/10/15 00:35:32	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/TomcatServletEngine.java,v
1.1 1999/10/09 00:20:39 duncan Exp $
  - * $Revision: 1.1 $
  - * $Date: 1999/10/09 00:20:39 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/TomcatServletEngine.java,v
1.2 1999/10/15 00:35:32 akv Exp $
  + * $Revision: 1.2 $
  + * $Date: 1999/10/15 00:35:32 $
    *
    * ====================================================================
    * 
  @@ -73,9 +73,5 @@
   public class TomcatServletEngine extends ServletEngine {
       public ClassLoader getClassLoader(ServletContext ctx) {
           return ((ServletContextFacade) ctx).getRealContext().getClassLoader();
  -    }
  -
  -    public String getClassPath(ServletContext ctx) {
  -        return ((ServletContextFacade) ctx).getRealContext().getClassPath();
       }
   }
  
  
  

Mime
View raw message