*/
public void handleFileUpload(HttpServletRequest request,
HttpServletResponse response) throws IOException,
FileUploadException {
// Create a new file upload handler
final ServletFileUpload upload = new ServletFileUpload();
final UploadProgressListener pl = new UploadProgressListener();
upload.setProgressListener(pl);
// Parse the request
FileItemIterator iter;
try {
iter = upload.getItemIterator(request);
/*
* ATM this loop is run only once as we are uploading one file per
* request.
*/
while (iter.hasNext()) {