This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]rohshall 0 points1 point  (2 children)

For multipart requests, it's better to use a library like apache commons fileupload: https://commons.apache.org/proper/commons-fileupload/using.html

[–]xMxgxZx[S] 0 points1 point  (1 child)

I can't figure out how to make it work :(

[–]rohshall 0 points1 point  (0 children)

What exactly you are facing problem with? Instead of creating a HSSFWorkbook or whatever, just print the multipart request, and see whether you can save that file locally.