permaculture playing cards*
The moose likes Struts and the fly likes how to divide the database recordsinto pages for diaplaying in struts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to divide the database recordsinto pages for diaplaying in struts?" Watch "how to divide the database recordsinto pages for diaplaying in struts?" New topic
Author

how to divide the database recordsinto pages for diaplaying in struts?

Robert Smith
Greenhorn

Joined: Oct 14, 2003
Posts: 23
how to divide the database into pages for diaplaying in struts?
i get the database records into Arraylist and the element of the arraylist is a java bean ,and this java bean has some property !
and i save the arraylist into session ? how to loop this arraylist for displaying for pages? what can i do in the actionBean and the displaying jsp ?
please give me some examples!
thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to divide the database recordsinto pages for diaplaying in struts?