Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2010-01-09
2
Medium Priority
?
534 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
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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 …
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

578 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