• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Recordset Navigator

 
Constantinos Grevenitis
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to make a recordset navigator into my JSP page but I don't know how to do it. My database is mysql.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on what you mean by "recordset navigator". Are you talking about paging a record set? Or about showing one record at a time?

In either case, the JSP FAQ also contains an entry on dealing with such issues. Please be sure to look through the FAQ before posting questions that may have already been answered.
 
Constantinos Grevenitis
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me give you 2 examples
Let suppose that the below is a table that get the data from a db:

FirstName1 LastName1 Phone1 Address1
FirstName2 LastName2 Phone2 Address2
FirstName3 LastName3 Phone3 Address3
FirstName4 LastName4 Phone4 Address4
FirstName5 LastName5 Phone5 Address5

Previous_5_Records Next_5_Records <--This is my Recordset Navigator. The

elements are html hyperlinks.

///////////////////////////////////////////////////////////////////////////
And my second example...
Let's suppose again that we have a table

Imagefile Fname
Lname
General info
Years in Company Salary Status

First Previous Next Last <--This is my Recordset Navigator. The

elements are html hyperlinks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, that's known as dataset paging. Did you read the JSP FAQ entry as directed? If so, what parts are you having trouble with?
 
Constantinos Grevenitis
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know how to do it at all. I am completely lost.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read the FAQ entry?

If you have and you don't even understand enough of it to know where to being asking questions, then I'd venture to say that you're not ready for something of this level of complexity and that you should work through a simpler tutorial.
 
Constantinos Grevenitis
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have just read PaginationOrPaging article but nothing.
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What the very knowledgable people here are trying to tell you is that, by reading the FAQ, you should at least be able to get going, and then post back if you are having a specific problem. You may want to go back and read PaginationOrPaging in the FAQ.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic