// FileUploadIOException) if the request is longer than the max size
// allowed by fileupload requests (FileUpload.getSizeMax)
// But note that if the request does not send proper headers this check
// just will not do anything and we still have to check it again.
FileItemIterator iter = fileUpload
.getItemIterator(new PortletRequestContext(request));
FileItemFactory fac = fileUpload.getFileItemFactory();
if (fac == null)
{
throw new NullPointerException(