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 / murali krishna yella
ya.. this will surely work fine
<logic:iterate id="item" name="listName" scope="request"
indexId="index">
<%
if( (index%5)==0 ){
<bean:write name="item"/>
}
%>
</logic:iterate>
| Is This Answer Correct ? | 22 Yes | 2 No |
Post New Answer View All Answers
How to build struts application in eclipse?
What are the two types of validations supported by validator framework?
What are the steps of struts installation?
What is struts?
What's mvc pattern ?
What is the difference between struts and spring? Explain
How you will enable front-end validation based on the xml in validation.xml?
What do you mean by action errors and what are the results they force?
How the flow of various requests happens in struts application?
What are the major differences between html tags and strut specific html tags?
Explain struts?
What is the purpose of @expressionvalidator annotation?
Why do we use struts?
How to explain Software Bank Loan descriptions
How do you convert struts to springs?