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 is struts2 framework?
Name some useful annotations introduced in Struts2?
What’s the difference between struts and espresso?
What is s token?
What is the forward action utilized for?
how does request processor relates to action mapping?
What is the purpose of execute() method?
What is the purpose of @doublerangefieldvalidator annotation?
What is spring hibernate and struts in java?
What is the purpose of redirect result type?
What is the purpose of @keyproperty annotation annotation?
What does the term struts mean?
Is there a particularly good ide to use with struts?
What are the advantages of spring mvc over struts mvc?
Which model components are supported by Struts?