Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How can we write our own interceptor and map it for action?

0 Answers  


Is struts 1 still supported?

0 Answers  


i have list of values(e.g 100). using logic:iterate, how can i print the multiples of 5th element? how the logic:iterate will understand the multiples of 5.

2 Answers   CTS, TCS,


What is meant by portals???

9 Answers  


can we change the order of parameters in execute()?

4 Answers   Polaris, Serco,


What is the purpose of @element annotation annotation?

0 Answers  


How is a lookup dispatch action created?

0 Answers  


in struts how to use hibernate with struts>

0 Answers   Infosys,


What is a custom tag?

0 Answers  


What is the purpose of @stringlengthfieldvalidator annotation?

0 Answers  


What are the core classes of struts framework? Explain

0 Answers  


how to get the last 10 elements using logic:iterate in struts with hiernate from database.

0 Answers   Wipro,


Categories