java - Particular uploading issue via JSP -


hi creating file upload , download form via jsp. working fine, can upload small files, can create , fetch download particular file , delete file if required.

now problem is, suppose 2 users using app. user uploaded file named file.txt. sometime later user b uploaded file named file.txt. previous file overwrite. dont want popup box alert user b file of name exists.

instead want folder created each user have files stored on server side in named folder.

savefile="c:/temp/"+savefile; 

i need modify line of code think.

task completed. ok task done. guy had exact same task me.

how create folder in tomcat webserver using java program?

thanks guys inputs.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -