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 are apache struts?

865


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

963


What is struts and springs in java?

978


Describe validate() and reset() methods.

1032


What is the procedure of operation of a form tag?

910


What do you mean by actionmapping?

932


Which model components are supported by Struts?

986


Is struts action class singleton?

947


Which class of struts is responsible to converts data types from string and vice versa?

1049


What are result types in struts?

946


in struts how to use hibernate with struts>

2178


What is defeult result type?

1018


What is dispatch action class?

1043


1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

3137


What is the role of a handler in mvc based applications?

1174