tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Triptpal Singh Lamba" <>
Subject Re: How to get Tomcat to accept attribute names "lang" and "maxRows"?
Date Mon, 18 Nov 2002 23:50:30 GMT
I guess maxRows may be some class or some definite meaning somewhere.

You can change to diff intutive name I guess maxResultRows etc.

Class MaxRows

  All Implemented Interfaces:


I do know the above conotation though.. for the MaxRows.


Tript Singh

----- Original Message -----
From: "Jim Cobban" <>
To: "Tomcat User Maillist" <>
Sent: Monday, November 18, 2002 6:22 PM
Subject: How to get Tomcat to accept attribute names "lang" and "maxRows"?

I have found that Tomcat does not handle the attributes "lang" and "maxRows"
in my custom tags the way it does attributes with otherwise similar names.
With those two attribute names Tomcat complains that it is "unable to find
setter method".  But if I change the attributes to "ling" and "maxRoz"
Tomcat can find my setter methods.  Unfortunately I do not believe that my
customers will find "ling" and "maxRoz" to be intuitive attribute names to
describe the human language of the interface and the maximum number of rows
from the table to display.

Am I just SOL?  Am I forced to use non-intuitive attribute names in order to
comply with some implementation characteristic of Tomcat?  I have searched
the JSP specification from top to bottom.  I cannot find any occurrence of
the word "maxRows" and the only occurrences of the word "lang" is as part of
"".  Therefore I do believe that there is any restriction in
the JSP specification that I cannot use these attribute names.

Jim Cobban
34 Palomino Dr.
Kanata, ON, CANADA
K2M 1M1

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

View raw message