This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I want to know if there is any method for accessing a file uploaded in a JSP and sent to a servlet in an HttpResponse object. I have seen the code using the org.apache.commons.fileupload.* package classes.
My problem is that using the org.apache.commons.fileupload.FileItemFactory or org.apache.commons.fileupload.FileItem object, the uploaded file gets temporarily stored onto the disk. Is there any other method by which I can access the file stream from the HttpResponse object directly?