Yes, but what if the clock fails?

:)


Johan Compagner schrieb:
my god! how brilliant!
Igor++!

On 4/12/06, Timo Stamm <[EMAIL PROTECTED]> wrote:
Igor Vaynberg schrieb:
you are absolutely right, how foolish of me.

a better way of course would be

url=url+"&rand="+UUID.random().toString()

but wait...even with that there is a chance of collission...hmmm

how about you have a static BigInteger in your resource, and use that as
a
sequence to generate unique ids to append to the url!

System.currentTimeMillis()


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to