Hi,

I�m not sure if I understand your question, but hey, I�ll give it a shot:

To get a unique name:

String uniqueName = String.valueOf(System.currentTimeMillis());

This will give you unique name. Check out the jdk-javadoc for an 
explanation of this method.

BR,
Denny





Edson Alves Pereira <[EMAIL PROTECTED]>
2003-10-31 10:08
Please respond to "Tomcat Users List"
 
        To:     'Tomcat-User List' <[EMAIL PROTECTED]>
        cc: 
        Subject:        where should i store a attribute


                 Hello folks, i�m trying to store a database connection in 
a session
attribute or request attribute, but i must choose a name that just one
thread per time would knowns. Any idea?

                 Regards,
                 Edson

Reply via email to