diff --git a/spring-boot/parse-data-csv/README.md b/spring-boot/parse-data-csv/README.md index b308cef..0231a40 100644 --- a/spring-boot/parse-data-csv/README.md +++ b/spring-boot/parse-data-csv/README.md @@ -1,3 +1,13 @@ # Uploading and Parsing CSV File using Spring Boot For step-by-step instructions, please check out [blog post](https://attacomsian.com/blog/spring-boot-upload-parse-csv-file). + +<<<<<<< HEAD +If there is a postman error: upload file springboot - `Required request part 'file' is not present`, follow blew link to resolve it. + +======= +If there is a `upload file springboot Required request part 'file' is not present` error in Postman, follow below link. + +The Postman should look like this: +>>>>>>> 4472729911be7a37bcb038a3becfdcd9b87f9677 +https://stackoverflow.com/questions/43936372/upload-file-springboot-required-request-part-file-is-not-present \ No newline at end of file diff --git a/spring-boot/parse-data-csv/src/main/resources/application.properties b/spring-boot/parse-data-csv/src/main/resources/application.properties index 8b13789..e7a81de 100644 --- a/spring-boot/parse-data-csv/src/main/resources/application.properties +++ b/spring-boot/parse-data-csv/src/main/resources/application.properties @@ -1 +1,4 @@ +server.port = 8090 +spring.thymeleaf.prefix=classpath:/templates/ +spring.thymeleaf.suffix=.html diff --git a/spring-boot/parse-data-csv/src/main/resources/templates/file-upload-status.html b/spring-boot/parse-data-csv/src/main/resources/templates/file-upload-status.html new file mode 100644 index 0000000..d152c99 --- /dev/null +++ b/spring-boot/parse-data-csv/src/main/resources/templates/file-upload-status.html @@ -0,0 +1,54 @@ + + + + + + Upload CSV File Example + + + + + +
+
+
+

File Upload Status

+ + + + + + + + + + + + + + + + + + + + + + + + + +
#IDNameEmailCountryAge
+
+
+ +
+ + + + + +