tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core ApplicationDispatcher.java
Date Thu, 28 Sep 2000 00:25:32 GMT
craigmcc    00/09/27 17:25:31

  Modified:    catalina/src/share/org/apache/catalina/core
                        ApplicationDispatcher.java
  Log:
  Rethrow an IOException that is thrown by an included servlet.  The particular
  case at hand was when <jsp:include> was used to reference a non-existent
  page.  The FileNotFoundException was getting silently swallowed here.
  
  Revision  Changes    Path
  1.4       +5 -4      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java
  
  Index: ApplicationDispatcher.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ApplicationDispatcher.java	2000/08/31 20:50:49	1.3
  +++ ApplicationDispatcher.java	2000/09/28 00:25:31	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java,v
1.3 2000/08/31 20:50:49 craigmcc Exp $
  - * $Revision: 1.3 $
  - * $Date: 2000/08/31 20:50:49 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java,v
1.4 2000/09/28 00:25:31 craigmcc Exp $
  + * $Revision: 1.4 $
  + * $Date: 2000/09/28 00:25:31 $
    *
    * ====================================================================
    *
  @@ -94,7 +94,7 @@
    * <code>javax.servlet.ServletResponseWrapper</code>.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.3 $ $Date: 2000/08/31 20:50:49 $
  + * @version $Revision: 1.4 $ $Date: 2000/09/28 00:25:31 $
    */
   
   final class ApplicationDispatcher
  @@ -505,6 +505,7 @@
   	} catch (IOException e) {
   	    log(sm.getString("applicationDispatcher.serviceException",
   			     wrapper.getName()), e);
  +	    throwable = e;
   	} catch (UnavailableException e) {
   	    log(sm.getString("applicationDispatcher.serviceException",
   			     wrapper.getName()), e);
  
  
  

Mime
View raw message