• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to generate a unique no using java apis  RSS feed

 
neeraj Kt
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have following requirement
I have to store all the files of a application in a folder.
Application has many users.
So more then one user can upload file to the folder.
File should not be overwirtten even if two user are uploading same file.
For avoiding overwriting of files I just want to appened a unique no with file name selected by a user.
Please let me know how I to get unique no even in a case where two user are uploading same files at same time.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
neeraj neeraj, please check your private messages.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!