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 24091] New: - dynamic-attributes in tag file is broken
Date Fri, 24 Oct 2003 10:10:45 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=24091>.
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=24091

dynamic-attributes in tag file is broken

           Summary: dynamic-attributes in tag file is broken
           Product: Tomcat 5
           Version: 5.0.12
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: walterc@enlight.com.tw


when i tried to use dynamic-attributes in a tag file, the java class tomcat
generated fail to implement javax.servlet.jsp.tagext.DynamicAttributes.  the
call to setDynamicAttribute in jsp file was generated properly, however,
resulted in an exception being thrown as follows:

Oct 24, 2003 5:16:00 PM org.apache.jasper.compiler.Compiler generateClass
SEVERE: Error compiling file:
/home/walterc/lib/java/apache/jakarta/tomcat/jakarta-tomcat-5.0.12/work/Catalina/localhost/jsp-sandbox/org/apache/jsp/jsp/test_jsp.java
    [javac] Compiling 1 source file

/home/walterc/lib/java/apache/jakarta/tomcat/jakarta-tomcat-5.0.12/work/Catalina/localhost/jsp-sandbox/org/apache/jsp/jsp/test_jsp.java:68:
cannot resolve symbol
symbol  : method setDynamicAttribute (<nulltype>,java.lang.String,java.lang.String)
location: class org.apache.jsp.tag.web.test_tag
    _jspx_th_t_test_0.setDynamicAttribute(null, "a", new String("1"));
                     ^
/home/walterc/lib/java/apache/jakarta/tomcat/jakarta-tomcat-5.0.12/work/Catalina/localhost/jsp-sandbox/org/apache/jsp/jsp/test_jsp.java:69:
cannot resolve symbol
symbol  : method setDynamicAttribute (<nulltype>,java.lang.String,java.lang.String)
location: class org.apache.jsp.tag.web.test_tag
    _jspx_th_t_test_0.setDynamicAttribute(null, "b", new String("2"));
                     ^
2 errors

---------------------------------------------------------------------
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