• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Iterating over Arraylist in jsf application

 
Ramkumar Subburaj
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use <h:datatable>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic