handling result sets in random order across pages
"Carter, Scott" <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <92EFB80E551BD511B39500D0B7B0CDCC071514B9@ohms.electric.ci.austin.tx.us> |
My problem is really very simple but I am not sure what the best way to solve it is. I perform a query against my database, which always returns my results in the same order, and I want to randomize the ordering. The only other part of this problem that makes it tricky is I am not displaying all of the results on a single page, so how ever I decide to manage the randomizing of the result set order, I have to keep up with it over several pages. Any ideas? Has anyone done this? Thanks - Scott Carter ___________________________________________________________________________ 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