TonyD wrote:
Well I found out what index is (index=count +1)

Bzzt. Index is a zero-based iteration count, count is a one-based iteration count, so index+1=count.

but a need something that tells me how much iterations are there
before reaching the end of  interation.

That has nothing to do with the iterator. It's a simple number you want added to the output of the jsp. We tend to do that with the s:property tag.

So if your iterator is
<s:iterator value="%{foo}" status="iterStatus">...</s:iterator>
what you're looking for is just
<s:property value="%{foo.size}"/>

Read up on ognl. It's a very powerful language that you're using whether you realize it or not.

-Dale


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

Reply via email to