how to divide the database recordsinto pages for diaplaying in struts?
posted 13 years ago
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