Sunday, October 03, 2010

Random things

Random elements for your JSP (and/or Coldfusion) pages. What could be randomized (to make more dynamic pages, for personalization, for discrete simulation etc.):

How to get Random value and random sequence

How to include text (code) with the given probability

How to get random color

How to iterate over the random subset of any collection

How to get random element from any collection

No comments: