tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Luehe <Jan.Lu...@Sun.COM>
Subject Re: Why can I not use attributes "lang" and "maxRows" in a custom tag
Date Fri, 22 Nov 2002 22:49:47 GMT

> Tomcat 4.1.12 does not accept a custom tag with attributes "lang"
> or "maxRows".  When I asked about this on the Tomcat users list I was
> informed that it also does not accept the attribute "class".
> Specifically if I define those attributes then when the jsp is compiled I
> get an "unable to find setter" error.  If I replace them with similar but
> meaningless attribute names the page compiles correctly.

This can't be true. For example, JSTL defines an attribute
named 'maxRows' for its <sql:query> action.
I am not aware of any naming restrictions for custom tag attributes.

Are you sure the tag handler for your custom action
defines an approriate setter method for the attributes in


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message