• Post Reply Bookmark Topic Watch Topic
  • New Topic

Search Servlet

 
Rashmi Trivedi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
I have writteen a search servlet which brings the requested data from the databse. However i like to make little improvement to that servlet. If the search selection is big then i missed out the last records so what i would like to do to have next button if the search selection is bigger than 20. Just like the google serach, it displays only 20 result and it has next button which will get you to the next 20 searches..and so on..
I like to do similar thing to my servlet or JSP...
I did little investigation and i didn't find much which can give me good start..
I would really appreciate your input to this. Give me what ever you have and send me any piece of code you have...that will give me a good start.
Thank you for your time and consideration..
Regards,
Rashmi
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you need this
 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello dear
you can also SEARCH for "paging resultsets" in this forum.
that wud really help your cause.
malhar
 
Jay Davis
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Must have rowset.jar set in classpath on server.Can be downloaded from sun (not sure the exact URL but you can do a search for it). Pretty straightforward and easy to use.
 
Rashmi Trivedi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
Thank you so much for your help. I really appreciate it.
Now i can atleast start doing something..i was really stuck...
Thank you once again..
Regards
Rashmi
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!