//通过该工厂对象创建ServletFileUpload对象
ServletFileUpload upload = new ServletFileUpload(factory);
//将转化请求保存到list对象中
List items = upload.parseRequest(request);
//停止使用监听器
listener.done();
boolean hasError = false;
//循环list中的对象
for (Iterator i = items.iterator(); i.hasNext();) {
FileItem fileItem = (FileItem) i.next();
if (!fileItem.isFormField()) {//如果该FileItem不是表单域