public static FileItem getRequestFileItemValue ( final HttpServletRequest request , final String key ) { FileItem [ ] values = getRequestFileItemValues ( request , key ) ; return values == null || values . length == 0 ? null : values [ 0 ] ; }
Get a file item value from the request allowing for multi part form fields .