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 2004/03/19 23:34:53 UTC

DO NOT REPLY [Bug 27810] New: - Setter method not found for tag attributes that begin with 2 letters of different case

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27810>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27810

Setter method not found for tag attributes that begin with 2 letters of different case

           Summary: Setter method not found for tag attributes that begin
                    with 2 letters of different case
           Product: Tomcat 5
           Version: 5.0.19
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: post@jlware.com


For tags created with the new JSP 2.0 tag file feature, Jasper throws an 
exception saying it cannot locate the setter method for any attribute whose 
first 2 letters are of different case.

A sample webapp showing the problem can be found here:
http://jlware.com/public/tomcat-5019-bug.zip.

For example, in this tag, the presence of either of the last 2 attributes will 
cause the exception.

  <t:foo xok="1"
	XOK="2"
	xxOk="3"
	XXok="4"
	xNotOk="5"
	XnotOk="6"
	/>

The exception is thrown even though the generated source code contains the 
attributes and their getter/setter methods.

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