You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/10/24 12:09:05 UTC

DO NOT REPLY [Bug 24090] New: - dynamic-attributes in tag file is broken

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=24090>.
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=24090

dynamic-attributes in tag file is broken

           Summary: dynamic-attributes in tag file is broken
           Product: Tomcat 5
           Version: 5.0.0
          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