Reputation: 11519
I should write servlet that receive File from request. I want to store this file in local dir on the server. How can I do that? Thanks a lot :)
Upvotes: 1
Views: 4402
Reputation: 89209
BalusC wrote an excellent blog on FileServlet. This will help you.
Oops, the above-mentioned article shows you how to do file download, to do file upload, use the Apache FileUpload library instead.
Upvotes: 2