You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by am...@tcs.com on 2005/07/04 11:58:53 UTC

arraylist problem.

I have a condition where I have an arraylist(must) containing a bean and i 
have to display it in my jsp. I cannot use logic:iterate since if the 
arraylist does not contain the bean, the controls are not displayed at 
all. (I have approx 40 controls to be displayed ).


what is the way out? 


Amitava Basak
ASE
Tata Consultancy Services Limited
Mailto: amitava.basak@tcs.com
Website: http://www.tcs.com

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you

Re: arraylist problem.

Posted by Vijay K Anand <r1...@freescale.com>.
<bean:size>
amitava.basak@tcs.com wrote:

>I have a condition where I have an arraylist(must) containing a bean and
>i 
>have to display it in my jsp. I cannot use logic:iterate since if the 
>arraylist does not contain the bean, the controls are not displayed at 
>all. (I have approx 40 controls to be displayed ).
>
>
>what is the way out? 
>
>
>Amitava Basak
>ASE
>Tata Consultancy Services Limited
>Mailto: amitava.basak@tcs.com
>Website: http://www.tcs.com
>
>Notice: The information contained in this e-mail message and/or
>attachments to it may contain confidential or privileged information.
>If you are not the intended recipient, any dissemination, use, review,
>distribution, printing or copying of the information contained in this
>e-mail message and/or attachments to it are strictly prohibited.   If
>you have received this communication in error, please notify us by reply
>e-mail or telephone and immediately and permanently delete the message
>and any attachments.  Thank you
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: arraylist problem.

Posted by Vijay K Anand <r1...@freescale.com>.
Hi

You can use size property to check the length of the Arraylist .

amitava.basak@tcs.com wrote:

>I have a condition where I have an arraylist(must) containing a bean and
>i 
>have to display it in my jsp. I cannot use logic:iterate since if the 
>arraylist does not contain the bean, the controls are not displayed at 
>all. (I have approx 40 controls to be displayed ).
>
>
>what is the way out? 
>
>
>Amitava Basak
>ASE
>Tata Consultancy Services Limited
>Mailto: amitava.basak@tcs.com
>Website: http://www.tcs.com
>
>Notice: The information contained in this e-mail message and/or
>attachments to it may contain confidential or privileged information.
>If you are not the intended recipient, any dissemination, use, review,
>distribution, printing or copying of the information contained in this
>e-mail message and/or attachments to it are strictly prohibited.   If
>you have received this communication in error, please notify us by reply
>e-mail or telephone and immediately and permanently delete the message
>and any attachments.  Thank you
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org