Hi,
I am trying to find a best solution for displaying results in sections on a
JSP with <Previous> and <Next> functionality for each section to navigate within section.
For ex: User enters a search criteria to get records for specified years . On results jsp page, results should be displayed in seperate section for each specified year. Each section should display top 5 records for the year and each section should have <Previous> and <Next> buttons. When any of these buttons pressed , previous/next set of 5 records should be displayed for that year.
I think Navigating at query level in
servlet may be too expensive. Holding Vector of unique keys of records for each section may also be expensive , as there can be upto 20-30 sections.
Any suggessions are welcome.
-Thanks in advance
-SSH