Creating a sortable table

First a quick intro.

I am a remote employee for a fairly well known website, RateMyProfessors.com. Recently I started creating pages and tools for the backend.I don't actually know JSP, but I'm good with SQL and I know the site like the back of my hand. So understanding how the code works hasn't been terribly difficult.

One of the things that I am trying to create is a table that can be sorted by the information in different columns.

I've gotten the table up and running, but I don't know how to make it sortable.

If somebody could give me some pointers I'd appreciate it.I do have a couple/few books on JSP. One isServelets and JavaServer Pages volume one (2nd edition). Another is O'Reilly'sJavaServer Pages (3rd edition). I also have a book on JSP tags, but its still packed away from a very recent move and I haven't been able to find it.

[904 byte] By [GiTa] at [2007-10-3 4:56:30]
# 1
Have you looked at the DisplayTag JSP tag library. This work has already been done and is a free distribution. It's rather well-done. I wouldn't bother reinventing the wheel. http://displaytag.sourceforge.net/11/
linxpdaa at 2007-7-14 23:01:45 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...