You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upload images, pdfs, txt files etc using Java Spring MVC
2
+
Upload images using Java Spring MVC
3
+
4
+
#Overview
5
+
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.
6
+
7
+
#Requirements
8
+
1. MySQL database needs to be installed
9
+
2. Internet connection to download the dependencies
10
+
3. Coding eyes to understand the code :)
11
+
12
+
#Instructions
13
+
1. Clone the project to your local machine
14
+
2. Import the project into Spring Tool Suite/Eclipse
15
+
3. Locate the Database folder and change the database name, username and password
16
+
4. 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).
0 commit comments