Check out displaytag. http://displaytag.sourceforge.net/tagreference.html. There is a sort. Look through the examples. I have done this for many customers.
-----Original Message----- From: as as [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 13:13 To: [EMAIL PROTECTED] Subject: Sorting table columns in jsp using struts Hi, Any clues on best easy ways to do table column sorting my rows in the table are generated as follows using <logic:iterate> as below. Thanks Sam. <table> <logic:iterate id="book" name="books"> <tr align="left"> <td align="center"> <input type=checkbox value="list" name="del_<bean:write name="book" property="ISBN" />"> </td> <td align="center"> <bean:write name="book" property="author" /> </td> <td align="center"> <bean:write name="book" property="title" /> </td> <td align="center"> <bean:write name="book" property="bookStoreName" /> </td> </tr> </logic:iterate> </table> --------------------------------- Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]