Skip to content

Conversation

@paolobiavati
Copy link

Improved java UploadServlet demo that work with file upload

1) init() method: 
I fixed a bug (?) in the init() to the fileUploadPath  initialization.
In my localhost execution the item.write(file); in doPost method throwed an exception.
Now with the correct realPath it's ok.

2) doGet() method
In the doGet method I add the feature to list all the uploaded files, already uploaded in the uploadedFolder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant