I am getting my data using servlet from the MySQL database and displaying the records in JSP page.
I want to know is there a way I can sort the columns in the JSP page based on the user choice dynamically. For each column I want to give hyperlink so that a click on that column would sort the records accordingly.
Thanks in advance.
I forgot to mention, I am displaying 15 records per page but would like the sort to be effected on all the records.