You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ted Husted <hu...@apache.org> on 2007/03/23 21:23:29 UTC
Re: [JAVA]Generating unique identifier with in a sesssion
* http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.html
The simplest thing would be something like
String id = UUID.randomUUID().toString();
-HTH, Ted
<http://www.husted.com/ted/blog/>
On 3/23/07, temp temp <mi...@yahoo.com> wrote:
> I need a object which generates unique identifiers for all instances I create how to do this ?
> Thanks & Regards
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org