Hello Suzy, You could use the display tag library: it does excatly what you are looking for; sorting by clicking on column headers.
See http://displaytag.sourceforge.net/ HTH Renaud "Suzy Fynes" <[EMAIL PROTECTED]> 24/01/2005 15:23 Please respond to "Struts Users Mailing List" <user@struts.apache.org> To <user@struts.apache.org> cc Subject Sorting Hi, Can anyone suggest the best way to order data in a JSP (from mysql database) using struts? i.e. list of names and address, can click a column to order by first name, or last name or address etc Thanks Suzy