| Author |
Recordset Navigator
|
Constantinos Grevenitis
Ranch Hand
Joined: Nov 29, 2006
Posts: 31
|
|
|
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
Joined: Jan 10, 2002
Posts: 56168
|
|
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.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Constantinos Grevenitis
Ranch Hand
Joined: Nov 29, 2006
Posts: 31
|
|
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
Joined: Jan 10, 2002
Posts: 56168
|
|
|
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
Joined: Nov 29, 2006
Posts: 31
|
|
|
I don't know how to do it at all. I am completely lost.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
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
Joined: Nov 29, 2006
Posts: 31
|
|
|
I have just read PaginationOrPaging article but nothing.
|
 |
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
|
|
|
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.
|
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Recordset Navigator
|
|
|