log("content-length: " + request.getContentLength());
log("method: " + request.getMethod());
log("character encoding: " + request.getCharacterEncoding());
if (isMultipart) {
DiskFileUpload upload = new DiskFileUpload();
List items = null;
try {
// parse this request by the handler
// this gives us a list of items from the request
items = upload.parseRequest(request);
log("items: " + items.toString());
} catch (FileUploadException ex) {
log("Failed to parse request", ex);
}
Iterator itr = items.iterator();