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 implement singletun design patteren in struts?
What is Request Dispatcher and What is reuest Processor??
In strurt why w use two differnt files web.xml and strut config.xml?
What is the differences between struts1 and struts2?
project architechture in java
3 Answers AC, IBM, INDUS, Satyam,
How you will make available any message resources definitions file to the struts framework environment?
What are inner class and anonymous class?
Can we have multiple struts config files in a single web app?
Can explain about the validations and in your project where did u used the validations?
What are the life cycle methods of interceptor?
drawback of Validation Framework where and how to write the connection pool object in the programe how to debug the programe and application in struts without using eclips
What's mvc pattern ?