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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]