Hi i just wanted to know is there any method or attribute that can be specified in the logic iterate tag in struts so that one can directly retrive the length of the array or list he or she is iterating using it. i wanted to know this because i want to get the length of the array which is getting iterated directly from the jsp developed using struts
Joined: Aug 04, 2005
Hi, what i suggest the simple way is just initialise a variable outside the logic iterate tag and increment it inside the iterate tag. U can fix the number of itrations using the length tag but i dont know the other way of knowing the number of iterations before itrating.