Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Finding size of an array in iterator tag

Himanshu Ranavat

2007-07-27

Replies:

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

©2008 junlu.com - Jax Systems, LLC, U.S.A.