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...

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.

Answer Posted / sharmila

You can try "indexId" param in the logic:iterate

It will give us the index value. So, inside the loop, you
can check if index value is multiple of 5 then only show the
record from the bean.

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is struts2 framework?

996


Name some useful annotations introduced in Struts2?

1013


What’s the difference between struts and espresso?

1086


What is s token?

1040


What is the forward action utilized for?

1147


how does request processor relates to action mapping?

960


What is the purpose of execute() method?

1120


What is the purpose of @doublerangefieldvalidator annotation?

1081


What is spring hibernate and struts in java?

965


What is the purpose of redirect result type?

1065


What is the purpose of @keyproperty annotation annotation?

1029


What does the term struts mean?

1038


Is there a particularly good ide to use with struts?

984


What are the advantages of spring mvc over struts mvc?

980


Which model components are supported by Struts?

1083