• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

large result sets

 
Sreenivas Vulli
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using struts freamework to develop a project. I have a need to dispaly large results on the jsp page with search capability, I have
to show only 20 results per page and need to have next and previous buttons to navigate the results that I retrived from database. I also
need to provide the user a text box where he can enter a value (say a telephone number), and I sould be able to show the user only the
record containing that field value. Is there any pattern in struts frame work which can provide me this and what is the best way to handle this situation. I need not goto the databse to get new results
each time b'cos my database does not change.
Thanks
vulli
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you are looking for is commonly refered to as resultset paging or paged resultsets. There have been multiple conversations on it in the JDBC forum, and I recommend a search there first.
One solution that has been quite popular (although I'm not sold) is the Data List Handler pattern. Details are available here
Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic