cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo Rivera <agalla...@agsoftware.dnsalias.com>
Subject Random generator
Date Sun, 06 Oct 2002 22:57:58 GMT
Hi Folks!

Is in Cocoon support for generating random database keys? Or a function that 
can return a random number?

I know that in Java is support for the Random class. This class generate a 
sequence based on a seed (like always).

The point is: I need generator of random numbers that will live all the 
run-time to return for every request a new random number lets said: 2^32.

Maybe this generator of random numbers can be called inside an action or in a 
xsp fashion.

Thanks in advance

Antonio Gallardo.

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message