commons-uploadでファイルアップロード

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002225.html
こう直せばちゃんと動くらしい

The class that needs to be patched is org.apache.commons.fileupload.FileUploadBase.

You'll need to replace line 336:
Map headers = parseHeaders(multi.readHeaders());

...with the following code:
Map headers = null;
try
{
headers = parseHeaders(multi.readHeaders());
}
catch (MultipartStream.MalformedStreamException e)
{
return items;
}