WTF does this have to do with JSP! This is a question of generating
random permuations, go look in an algorithm text like
_The algorithm Design Manual_ by Skiena, page 246.
http://www.cs.sunysb.edu/~algorith/info/form.shtml
http://www.tcs.mu-luebeck.de/AlgoDesignMan/BOOK/BOOK4/NODE151.HTM

Also I think it was in Knuth V2.
Please learn how to categorize your questions.
Andy


-----Original Message-----
From: rgu [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 12:23 PM
To: [EMAIL PROTECTED]
Subject: Random in JSP


I need to do a random function with JSP!

 I have a set of IDs of my SQL table, 1,12,34,53

I need select this IDs in diferent sequences each time,
per example 12,34,53,1  ; 53,12,34,1 and so on.

 Thank you very much

Roger G Urdangarin


__________________________________________________________________________
Todo brasileiro tem direito a um e-mail gr�tis
http://www.bol.com.br

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
  • Rand... rgu
    • ... Andy Purshottam
      • ... Raj
        • ... Raj (Redirected by \"Jim Hovey\" <[EMAIL PROTECTED]>)

Reply via email to