spring-guides / gs-uploading-files

Uploading Files :: Learn how to build a Spring application that accepts multi-part file uploads.
http://spring.io/guides/gs/uploading-files/
Apache License 2.0
469 stars 503 forks source link

Add index.html instead of FileUploader main class #5

Closed dsyer closed 10 years ago

dsyer commented 10 years ago

It's slightly awkward having 2 main classes in the complete project because ony one of them can run from the command line by default. Consequently a user cannot take the "complete" project and follow the instructions in the README because the server cannot be run from there.

This change adds an index.html to the application so it can be driven from a browser instead.

N.B. this sample is broken with Boot RC4 (RC3 still fine)

gregturn commented 10 years ago

Thanks!