Win a copy of Barcodes with iOS this week in the iOS forum or Core Java for the Impatient in the Java 8 forum!
salvin francis wrote:problem resolved the problem was that
Spring does not allow a normal passing of the servlet request.
here is what i idd to get around this is issue
FileItemFactory factory = new DiskFileItemFactory();
// Create a new file upload handler
ServletFileUpload upload = new ServletFileUpload(factory);
//Parse the request
List items = upload.parseRequest(request);
// Process the uploaded items
Iterator iter = items.iterator();
FileItem item = (FileItem) iter.next();
//making a check for an item being a form field before proceeding...
//CODE HERE ....