?
Solved

Need Example How to use <logic:iterate> in struts with dynaActionBean

Posted on 2010-01-09
2
Medium Priority
?
527 Views
Last Modified: 2013-11-24
Hello

I need An example how to use <logic:iterate> in struts with dynaactionBean

Thanks
0
Comment
Question by:newbiejava
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
Ravi Kalla earned 375 total points
ID: 26276314
check the below example
//Iterating over the arraylist to display individual properties.

<logic:iterate id=beanObj name=actionForm property=list indexId=index >
<html:select name=actionForm property=beanObj[<bean:write name=index />].selectedValue >
<%for(int i=0; i < 10;i++) {%>
    <html:option value=<%=String.valueOf(i)%>><displayValue></html:option>
<%}%>
</html:select>
</logic:iterate>

Open in new window

0
 

Author Closing Comment

by:newbiejava
ID: 31675087
good solution
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question