throw new PortletException("Expected file upload");
}
// use commons-fileupload to process the request
File rootDir = new File(System.getProperty("java.io.tmpdir"));
PortletFileUpload uploader = new PortletFileUpload(new DiskFileItemFactory(10240, rootDir));
File bundleFile = null;
String startAfterInstalled = null;
String str_startLevel = null;
List<?> items;
try {
items = uploader.parseRequest(request);
} catch (FileUploadException e) {
addErrorMessage(request, getLocalizedString(request, "consolebase.bundlemanager.err.file.uploadError"));
logger.error("FileUploadException", e);
return;
}