tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers ReloadInterceptor.java
Date Tue, 02 Oct 2001 05:50:31 GMT
billbarker    01/10/01 22:50:30

  Modified:    src/share/org/apache/tomcat/modules/mappers
                        ReloadInterceptor.java
  Log:
  This seems to be outdated, since it's original purpose is handled better
  below.  However it breaks forwarding to invoker servlets during reloading.
  That is if a servlet that calls:
   RequestDispacher.forward("/myapp/servlet/my.servlet.classs")
  forces a context reload, the forwarded servlet won't be found.
  
  This addresses part of bug #3760
  
  Revision  Changes    Path
  1.14      +1 -1      jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers/ReloadInterceptor.java
  
  Index: ReloadInterceptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers/ReloadInterceptor.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ReloadInterceptor.java	2001/09/27 16:38:59	1.13
  +++ ReloadInterceptor.java	2001/10/02 05:50:30	1.14
  @@ -170,7 +170,7 @@
   
   	// We are remapping ?
   	if( request.getAttribute("tomcat.ReloadInterceptor")!=null)
  -	    return DECLINED;
  +	    return 0;
   	
   	DependManager dm=(DependManager)ctx.getContainer().
   	    getNote(dependManagerNote);
  
  
  

Mime
View raw message