tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22133] - Scoping conflict for generated fragment helpers
Date Tue, 05 Aug 2003 12:50:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22133>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22133

Scoping conflict for generated fragment helpers





------- Additional Comments From matthias.ernst@coremedia.com  2003-08-05 12:50 -------
The following patch resolves _this specific_ problem but there might be other
implicit calls to 'this' lurking around:

====
//coremedia/thirdparty/apache/jakarta-jasper2/src/share/org/apache/jasper/compiler/JspUtil.java#2
-
/home/mernst/p4/main/thirdparty/apache/jasper2/src/share/org/apache/jasper/compiler/JspUtil.java
====
@@ -534,7 +534,7 @@
          */
        String jspCtxt = null;
        if (isTagFile)
-           jspCtxt = "getJspContext()";
+           jspCtxt = "this.getJspContext()";
        else
            jspCtxt = "pageContext";

Mime
View raw message