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 strut web xml?

886


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

861


What is the use of resourcebundle.properties file in Struts Validation framework?

990


What is struts-default package and what are it’s benefits?

1048


State an example of struts configuration file as an action parameter for action servlet.

957


What are the core classes of struts framework? Explain

944


What is lookupdispatchaction?

977


Explain integrate log4j in struts2 application?

950


What is difference between struts1 and struts2?

874


What is the purpose of @after annotation?

978


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

4458


Explain struts.devmode?

926


Is struts efficient?

870


What is difference between interceptors and filters?

973


What validate() and reset() method does ?

1012