Hi,

The empty operator checks both to see if the collection is set and if it is
empty. So if you want to know if set but empty:

test="${aCollection != null && empty aCollection}"


Regards

Mike.



On 11/28/06, Luiz Fernando Rodrigues <[EMAIL PROTECTED]> wrote:

Hello,

  Does any one know how to test if a collection is empty or not with
the <c:if /> tag? As far as I know, if I write test="${empty
aCollection}" will test if the variable aCollection is set or not. I
search for somehow identify if aCollection is an empty collection or
not.

thanks,
Luiz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to