I am trying to get the size of a collection (ArrayList) and
use in c:set ex:
c:set var=total value=${list.size}/
The error I am getting is:
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
Karr, David wrote:
-Original Message-
From: Hari Mukkala [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 7:26 AM
To: Tag Libraries Users List
Subject: c:set Collection size
I am trying to get the size of a collection (ArrayList) and
use in c:set ex:
c:set var=total
But you can write a JavaBean Info. You define a property 'size' and you call its read
method size() which EL will find
(am i right or not)
David Geary wrote:
Karr, David wrote:
-Original Message-
From: Hari Mukkala [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 7:26
On Thu, 5 Sep 2002, Thomas Colin de Verdière wrote:
But you can write a JavaBean Info. You define a property 'size' and
you call its read method size() which EL will find (am i right or not)
You can do this on your own custom objects. When encountering a
Collection, however, the JSTL EL (and
Why doesnt this work?
xtags:parse url='/get/?media=%= request.getParameter(type) %'/
i wanted to do something using the EL language as in:
xtags:parse url='/get/?media=$param:type'/
as was in the docs for xtags but its not working.
i am running in Tomcat 4.04 and deployed with just the