Uploading files on to server using spring mvc
问题 I am trying to upload list of files to the server using spring MVC. But i am able to store on to the c drive,but i don't know how to upload onto server.Please help me. 回答1: create a folder inside the Tomcat 9 (server) directory as follows .../Apache Software Foundation/Tomcat 9/FileUpload then, you can access the above directory (FileUpload) in java File fileUpload = new File(System.getProperty("catalina.base"), "FileUpload"); but, if you use the eclipse ide, in the development time you