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

Will the struts tags support other markup languages such as wml ?

0 Answers  


What are action errors?

0 Answers  


what is frame work in struts?

3 Answers   Infosys,


Can you give an overview of how a struts application flows?

0 Answers  


How many struts config file can be created in struts?

0 Answers  






Does struts include its own unit tests?

0 Answers  


How to pass runtime Parameter in Struts1.2?

2 Answers  


Explain struts.devmode?

0 Answers  


How many struts config file in a struts application?

0 Answers  


what is tiles in struts?

6 Answers  


Explain the difference between dispatchaction and lookupdispatchaction in struts?

0 Answers  


what is request processor class ?

10 Answers   Fidelity,


Categories