struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <hus...@apache.org>
Subject Re: [JAVA]Generating unique identifier with in a sesssion
Date Fri, 23 Mar 2007 20:23:29 GMT
* 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 <miroconnect@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


Mime
View raw message