Win a copy of The Java Performance Companion this week in the Performance forum!
    Bookmark Topic Watch Topic
  • New Topic

ResultSet Paging --- I am STUCK!!!!!!

 
Dharmesh Chheda
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello
I am stuck!!! I wanted some help regarding ResultSet paging .. i am getting around 100 records in my resultset. But i just want to display 10 records on each page.. can someone help me by giving some code
or some reference site..
i am using JSP and Servlets ..
reply soon ..
 
pavi kavi
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello Dharmesh,
I have done it for many modules.
there are 2 ways to obtain it
1.u can take whole result set & display only those u want
2.u can take only those which u want to display
let me know which one u want.I can help u out in both cases.
Pavithra
Originally posted by Dharmesh Chheda:
Hello
I am stuck!!! I wanted some help regarding ResultSet paging .. i am getting around 100 records in my resultset. But i just want to display 10 records on each page.. can someone help me by giving some code
or some reference site..
i am using JSP and Servlets ..
reply soon ..

 
Dharmesh Chheda
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello Pavi
I didnt actually get what you meant .. anyways .. i want the whole resultset to be displayed but only 10 records per page ...
you can take the case of this javaranch site ..
the records are displayed and also the page numbers on the bottom
reply soon
 
pavi kavi
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Report post to moderator
give me your emailid
i will send the program
pavithra
Originally posted by Dharmesh Chheda:
Hello Pavi
I didnt actually get what you meant .. anyways .. i want the whole resultset to be displayed but only 10 records per page ...
you can take the case of this javaranch site ..
the records are displayed and also the page numbers on the bottom
reply soon

 
Dharmesh Chheda
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello Pavi
My email address is dchheda@bom.ontrackin.com
mail soon
 
Manoj Singh
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Pavi !
Is it possible for you to send the code to me as well. My email id is singh_mk@hotmail.com . I would be highly obliged.
Thanking you in anticipation.
ThanX
Manoj
 
sandeep balyan
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi if u can send me on
sandeep2002@rediffmail.com
thanks in advance
regs
 
Thunderbuck
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Report post to moderator
Originally posted by pavi kavi:
Hello Dharmesh,
I have done it for many modules.
there are 2 ways to obtain it
1.u can take whole result set & display only those u want
2.u can take only those which u want to display
let me know which one u want.I can help u out in both cases.
Pavithra


Hmmm, it looks like this is popular!
Please e-mail me too (bchandler@codewolf.net)
This is JUST what I was looking for today!
 
rastin purr
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi there,
Can a copy be sent to me too! Thanks
e-mail: rastinpurr@yahoo.com
rastin purr
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Report post to moderator
me too pleaseee !!!
britt50423@yahoo.com
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Rather than sending this to multiple individuals, it would better to post a somple here so all can make use of it.
Just in case pavi kavi isn't monitoring this tread anymore, I might see if I can get a sample and put it somewhere publically accessible (with permission, of course )
I'd also like to point out that there is no 'magic bullet' for paging. If you do a search and read previous discussions, you'll see that the correct solution depends on the problem you are trying to solve. eg catalogues and searches have very different solutions to paging and the correct solution for one may be unworkable for another.
Dave
 
Malli Raman
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
Please send the code to my id: msraman24@yahoo.com.

Regards,
M.S.Raman
 
Malli Raman
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I am really happy if you send me the code to my yahoo id: msraman24@yahoo.com.
Regards,
M.S.Raman
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
PLEASE STOP POSTING EMAIL ADDRESSES TO THIS THREAD!
I'm trying to come up with a solution which helps everyone and not individuals, and I'm keeping this thread open in the hope that pavi kavi will respond to an email I sent.
If people keep posting their email addresses I'll just close the thread since there is currently no indication that there has been a response of any sort.
Thanks for your enthousiasm though, it goes to show this is a topic many people are keen on and we'll have to promote some discussion later on.
(not really angry )
Dave
 
tom mcmorrow
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi,
this is a topic i have been giving some consideration to far the past number of days myself so far progress has not being good and i look forward to see some useful suggestions being posted here. Thanking you all for you generous help.
tom mcmorrow
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Report post to moderator
to try to stop this insanity, maybe people can share links to useful information. I'll start with previous discussions we've had at the ranch:
link 1
link 2
link 3
Jamie
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have just stumbled upon the most comprehensive set of solutions that I have seen so far. It discusses the different options, how to create a standard interface for the options, and gives a concrete implementation of the interface. You can read it here at theserverside.com
Hope this helps,
Jamie
 
Sreenivas Vulli
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Pavi,
I am looking at the problem posted regarding the paging. I am looking for a code to do the paging of my resultset. Can you please send me the code to vullisri@yahoo.com.
Thank you
Sreenivas
 
    Bookmark Topic Watch Topic
  • New Topic