Hai all.What is the use of <logic:iterate>tag in struts
application.
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
How to set email notification using struts.Plz give the example code?
How to display validation errors on jsp page?
What does it cost to replace struts?
Describe the mvc on struts?
how to write uploadphoto in the insert update delete using struts? write code struts and jsp jdbc
When wil use singleton class in Struts
List the important attribute and elements of action mapping under struts.
what are tiles in struts?
Explain the complete struts validator framework.
why do we typecast ActionForm into out plain java bean class in Action class?
What is the use of ActionErrors in Struts?
what is project architecture?give brief explanation about project architecture?
3 Answers CTS, Etisalat, IBM, Infinite Computer Solutions, Mphasis,