What is the use of <logic:iterate/> tag defined by Logic tag library in Struts framework? Name its attribute?
The <logic:iterate/> tag is used to iterate over a named collection - which contains a Collection, Enumereator, Iterator, Map, or Array - and evaluates its body for each Object in the collection. We can identify the collection being iterated over by using a request - time expression or a scripting variable. The <logic:iterate/> tag has a body type of JSP and supports nine attributes:
id, collection, name, property, scope, type, indexId, length, offset.