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
What are apache struts?
What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?
What is struts and springs in java?
Describe validate() and reset() methods.
What is the procedure of operation of a form tag?
What do you mean by actionmapping?
Which model components are supported by Struts?
Is struts action class singleton?
Which class of struts is responsible to converts data types from string and vice versa?
What are result types in struts?
in struts how to use hibernate with struts>
What is defeult result type?
What is dispatch action class?
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
What is the role of a handler in mvc based applications?