iteration - iterating through a list of records in a second (html) page, where the first page orders the results -


I am creating this site using jsp / servlets on the backend.

The first page (or "search" page) allows anyone to find records from a table, and also allows the user to sort the records. The sorting mechanism is quite complex, and is not a case of enclosing "order" in a single SQL query.

The first page then fills in the results after the user hits "Search". Actually, this is just a list of items in the "miniature" format, where each item can display items in the second page. Includes a link for The sorting system is run in the first page, while the list is being prepared. The mechanism does not use Java code to sort, not SQL (for reasons I will not go in, but definitely necessary).

When the second page (or "description" page) is loaded, it displays the record ID from the URL, followed by the details of that record.

The problem is that now we want to keep recurring features of the "back" / "next" type in the details page so that the user does not need to return to the search or list pages, then in the list Navigate to next item.

How am I seeing some ideas about how to implement it as I tell you I am missing here, in fact, the problem is that the sort of sorting used in the search page in the details page There is no concept, and it does not know what the next or previous record should be in the list. Some thoughts are going on but they all are suffering from a problem or next.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -