java-spring-file-upload
Upload images using Java Spring MVC
#Overview In this simple application I am using Spring MVC and JPA (Hibernate) to persist User's information to the database including their profile photo/image.
#Requirements
- MySQL database needs to be installed
- Internet connection to download the dependencies
- Coding eyes to understand the code :)
#Instructions
- Clone the project to your local machine
- Import the project into Spring Tool Suite/Eclipse
- Locate the Database folder and change the database name, username and password
- Open the modisefileupload.java.config.UserController and modify the image path (for development purposes you will need to point the path to you local computer, I have commented out the actual rootDirect to be used in the Server).
- Right click on the project and run on server
- Enjoy!