Hai all.What is the use of <logic:iterate>tag in struts
application.

Answer Posted / sai

<logic:iterate> repeats the nested body content of this tag
over a specified collection.
Ex:
<logic:iterate id="customer" name="customers">
<tr>
<td><bean:write name="customer" property="firstname"/></td>
<td><bean:write name="customer" property="lastname"/></td>
<td><bean:write name="customer" property="address"/></td>
</tr>
</logic:iterate>

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is action class?

583


What are the struts2 configuration properties that control file uploading process?

608


Which servlet does the struts framework use?

522


How struts control data flow?

540


What is the use of token interceptor in Struts2?

623






Who wrote struts?

558


List some struts tag libraries?

564


Name some of the features of struts2?

573


What is the purpose of @emailvalidator?

563


How to use dispatchaction?

579


In struts.xml, what does the attribute "method" stands for in the "action" tag?

535


What is action class? What are the types of action class?

533


What is apache struts used for?

496


What’s the difference between struts and espresso?

508


What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?

578