tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Generator.java
Date Mon, 01 Mar 2004 21:09:22 GMT
kinman      2004/03/01 13:09:21

  Modified:    jasper2/src/share/org/apache/jasper/compiler Generator.java
  Log:
  - Fix bugzilla 27330: pageContext not defined in the body of nest tags.
  
  Revision  Changes    Path
  1.221     +6 -3      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java
  
  Index: Generator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java,v
  retrieving revision 1.220
  retrieving revision 1.221
  diff -u -r1.220 -r1.221
  --- Generator.java	18 Feb 2004 21:30:54 -0000	1.220
  +++ Generator.java	1 Mar 2004 21:09:21 -0000	1.221
  @@ -1685,6 +1685,9 @@
                   out.pushIndent();
   
                   // Initilaize local variables used in this method.
  +                if (! isTagFile) {
  +                    out.printil("PageContext pageContext = _jspx_page_context;");
  +                }
                   out.printil("JspWriter out = _jspx_page_context.getOut();");
                   generateLocalVariables(out, n);
               }
  
  
  

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


Mime
View raw message