Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Answers were Sorted based on User's Feedback



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

Answer / shirish

<logic:iterate> tag is used iterate over a collection in a
particular scope. The tag defines scope attribute which
defines the scope where to look for the collection. If not
defined following scopes are searched in order page,
request, session and application. This tag can also be used
to iterate over Maps and arrays.

Is This Answer Correct ?    18 Yes 1 No

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

Answer / naveen kumar t

If we assigned the resultset to any list or collection and
want to dispaly it on jsp this tag more useful

Is This Answer Correct ?    3 Yes 0 No

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

Answer / 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



More Struts Interview Questions

What is the purpose of @before annotation?

0 Answers  


why do we typecast ActionForm into our plain java bean class in Action class? What is the reason?

4 Answers  


What is the purpose of @doublerangefieldvalidator?

0 Answers  


What configuration changes are required to use Tiles in Struts?

0 Answers  


How to build struts application in eclipse?

0 Answers  






What are best practices to follow while developing Struts2 application?

0 Answers  


What are the loop holes of struts?

0 Answers  


How do I install struts?

0 Answers  


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

0 Answers  


Why are frameworks used?

0 Answers  


Can we integrate struts with spring?

0 Answers  


What is structs 2 validation framework?

0 Answers  






Categories