wood burning stoves*
The moose likes Struts and the fly likes STRUTS1.1 sorting data in a html table based on the combination of columns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "STRUTS1.1 sorting data in a html table based on the combination of columns" Watch "STRUTS1.1 sorting data in a html table based on the combination of columns" New topic
Author

STRUTS1.1 sorting data in a html table based on the combination of columns

Afroz Ahmed
Ranch Hand

Joined: Jan 18, 2004
Posts: 64
Tell me the way in STRUTS1.1 for sorting data in a html table based on the combination of columns.

I had used display.jar2.0 to display the data in front end. Our requirement is that the data to be displayed in table needs to be sorted based on the combination of multiple columns. Such as Name desc, age desc, gender desc.

In SQL it can be done by using ORDER BY NAME DESC, AGE DESC, GENDER DESC
We don't want to do this sorting in SQL, as query becomes very complicated and performance goes for a toss.

Ssuggest me the sorting algorithm or any other techniques by which i can achieve this in Display-jar it self. I am are ready to customize the display-jar.


The value of an idea lies in the usage of it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: STRUTS1.1 sorting data in a html table based on the combination of columns
 
Similar Threads
Sorting arraylist on the basis of object
Display contents of HTML table row
using xsl:for-each tag in xsl file
Displaying the fields in an order
How to allow sorting of table?