Hey thanx I did that already:

<s:if test = "array.length == 0">................</s:if>

-----Original Message-----
From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 27, 2007 12:01 PM
To: Struts Users Mailing List
Subject: Re: Finding size of an array in iterator tag

Hi,

you can use a <s:if> tag to check the size of the array and display the 
message accordingly

Thanks,

Nuwan

Himanshu Ranavat wrote:
> Hi
>
>  
>
> I have a string array in my Java Backend. I am trying to use a Struts
> 2.0 iterator tag in my JSP to display the result. Is there a way to
> obtain the size of the array in the iterator tag so that I can display
> an empty array message to the user if the array is empty. Thanx in
> advance.
>
> Himanshu
>
>
>   


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



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

Reply via email to