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?