• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Recordset Navigator

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know how to do it at all. I am completely lost.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have just read PaginationOrPaging article but nothing.
 
Ranch Hand
Posts: 1514
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic