thanks for the response. this worked.

-----Original Message-----
From: Trieu, Danny [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 11:12 AM
To: 'Struts Users Mailing List'
Subject: RE: how do I check the size of the collection


This should work:

<bean:size id="size" name="theCollection" />

<logic:equal name="size" value="0" >  ..... </logic:equal>

> -----Original Message-----
> From: Galbreath, Mark [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 24, 2002 7:48 AM
> To:   'Struts Users Mailing List'
> Subject:      RE: how do I check the size of the collection
> 
> Yes: <logic:equals>
> 
> -----Original Message-----
> From: Jayaraman Dorai [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 24, 2002 10:42 AM
> To: [EMAIL PROTECTED]
> Subject: how do I check the size of the collection
> 
> 
> I have a collection which I want to iterate in the jsp page. If the
> collections size is 0, I want to display a message no elements in the
> collection. Is there any struts tag for this.
>  
>  
> Thanks
> Jayaraman
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>

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


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

Reply via email to