• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!