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 |
its a ActionForm controller or model?
16 Answers Patni, TCS, Wipro,
how to write uploadphoto in the insert update delete using struts? write code struts and jsp jdbc
What are the important methods of actionform?
If we close the browser,when the specific user session is active.Again if we open browse how to retrive it same user??what code i have to da???
What’s the difference between struts and turbine? What’s the difference between struts and espresso?
How to combine the struts with velocity template?
How do you convert struts to springs?
what is the difference between *.do & /do.*/? So what is the diffenence btn extension mapping & path mapping.What is those difference in work effect?
why do we typecast ActionForm into out plain java bean class in Action class?
What are the ways in which duplicate form submission can occur?
Hai all.Can i develope Struts action class without execute(-,- ,-,-)method.Ifd it's possible plz provide some sample code.
Explain about struts relation to html tags?