permaculture playing cards*
The moose likes JSF and the fly likes Iterating over Arraylist in jsf application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Iterating over Arraylist in jsf application" Watch "Iterating over Arraylist in jsf application" New topic
Author

Iterating over Arraylist in jsf application

Ramkumar Subburaj
Ranch Hand

Joined: Sep 07, 2007
Posts: 83
Hello,

I wanted to display a list of products in a JSF enabled JSP page. When the user clicks the link to reach the page, the request goes to a managed bean where i'm getting the data from the database and storing it in an array list.

Now how to display these values in the JSP page (how to iterate over the array list).


SCJP 1.5, SCWCD 1.4.
Hanging between Web Services and EJB
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

Use <h:datatable>


My Blog SCJP 5 SCWCD 5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Iterating over Arraylist in jsf application
 
Similar Threads
Help in table conversion from HTML to JSF
Export to Excel
How to display records in Grid view format in Jsp
How to control the Iterator count
create multiple checkboxes with Data base values in jsf page