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

How struts 2 validation works?

581


How exceptions are handled in struts application?

538


What is the purpose of @expressionvalidator annotation?

594


How interceptor works in struts 2?

596


How to use dispatchaction?

579






How does struts2 token work?

531


What helpers in the form of jsp pages are provided in struts framework?

529


What does apache struts do?

508


What are the core components of a struct2 based application?

564


What are the two scope types for formbeans?

611


When should be opt for struts framework?

578


What is difference between actionform and dynaactionform?

596


What is difference between lookupdispatchaction and dispatchaction?

633


Do you need an alignment after replacing struts?

524


Which design pattern the interceptors in struts2 is based on?

497