JSP: Best practices uploading files to server
问题 I am uploading files using multipart form, Apache FileUpload, etc. It work fine. But, I want to know what are the best practices or common practices when saving files in server, according to following: Naming the files in server (i.e.: What name is better? Some UUID generated, or the row ID generated by db table when I insert the file associated data) The best location for files inside the server (What is better? i.e. In linux server which folder or partition I should use. Do I have to