use <c:out value="${myList.size()}"/> I think size() will return the size of your list. -rgds chandru
On 8/2/05, Marius Botha <[EMAIL PROTECTED]> wrote: > > Hi there, > > Just a basic question. I am trying to print out the size() of a List, like > the tag below. > > <c:out value="${myList.size}"/> > > But I am getting the following error: "An error occurred while evaluating > custom action attribute "value" with value "${myList.size}": The "." > operator was supplied with an index value of type "java.lang.String" to be > applied to a List or array, but that value cannot be converted to an > integer. (null)" > > Can the c:out tag not print int's or is it that I am calling "size()" > which > does not have a getter/setter method? Please help. > > Thanks, > > Marius > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Chandramohan Mani vMoksha Technologies., [EMAIL PROTECTED] +91 (80) 25053500 ext 364 "Many of life's failure are people who did not realize how close they were to success when they gave up" - Thomas Edison