Hi all,
I am retrieving data from the database with several
fields, like for example first name, last name,
join date, salary.
This data is displayed by the servlet.
Now my requirement, is that, if anyone clicks on first
name, the data should now be displayed sorted on that
field and if on salary then sorted on salary.
I don't want to connect to the database each time and
retrieve the same information just to sort the data
which is already available to me.
Can anyone suggest a better method? Would be great if
you could give an example code.
Many Thanks,
Ravi.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html