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-jasper/jasper2/src/share/org/apache/jasper/runtime PageContextImpl.java
Date Tue, 06 Aug 2002 05:31:55 GMT
billbarker    2002/08/05 22:31:55

  Modified:    jasper2/src/share/org/apache/jasper/runtime Tag:
                        tomcat_4_branch PageContextImpl.java
  Log:
  Port fix for bug #11463 from 3.3 branch.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.1  +7 -5      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java
  
  Index: PageContextImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
  retrieving revision 1.11
  retrieving revision 1.11.2.1
  diff -u -r1.11 -r1.11.2.1
  --- PageContextImpl.java	20 Jun 2002 09:36:10 -0000	1.11
  +++ PageContextImpl.java	6 Aug 2002 05:31:55 -0000	1.11.2.1
  @@ -349,8 +349,10 @@
   	try {
   	    removeAttribute(name, PAGE_SCOPE);
   	    removeAttribute(name, REQUEST_SCOPE);
  -	    removeAttribute(name, SESSION_SCOPE);
  -	    removeAttribute(name, APPLICATION_SCOPE);
  +            if(session != null ) {
  +                removeAttribute(name, SESSION_SCOPE);
  +            }
  +            removeAttribute(name, APPLICATION_SCOPE);
   	} catch (Exception ex) {
   	    // we remove as much as we can, and
   	    // simply ignore possible exceptions
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message