try {
iter = upload.getItemIterator(req);
while (iter.hasNext()) {
FileItemStream item = iter.next();
String fieldName = item.getFieldName();
InputStream stream = item.openStream();
if (item.isFormField()) {
String value = Streams.asString(stream, "UTF-8");
System.out.println("Form field " + fieldName + " with value "
+ value + " detected.");
if(KEY_FIELD.equals(fieldName)){