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 the purpose of execute method of action class?

554


What are the core classes of struts framework? Explain

515


What is struts2 in java?

521


What is Custom Type Converter in Struts2?

610


What is the forward action utilized for?

542






How can link tag’s action attribute be used?

514


What is an interceptor stack?

563


Why actionservlet is singleton in struts?

582


Whats the difference between the default namespace and the root namespace?

503


Is struts efficient?

476


Give the details of xml files used in validator framework?

571


What is the purpose of @keyproperty annotation annotation?

567


Why use struts framework in java?

533


What are the 5 constants of action interface?

533


Do you need an alignment after replacing struts?

511