Example for viewlist design pattern
1 posts in topic
Flat View  Flat View

Posted By:   gopikrishna_kandipalli
Posted On:   Friday, November 5, 2004 07:35 AM

i need to display the contents of a table from the database 10 rows at a time manner .
please provide me code for this requirement

Re: Example for viewlist design pattern

Posted By:   guru_prasanth  
Posted On:   Friday, December 31, 2004 04:00 AM

r u asking for pagination.if so what u can do is create a method which will return u 10 rows of data from database.u also can use con.setFetchSize(10) so that it limits the record to 10.put these 10 records into entity objects or VO objects in ur controller and forward that to the display.display can get these vo objects and display it.tell me r u using servklets/jsp combination or something else
About | Sitemap | Contact