private String getParameter ( List < FileItem > items , String name ) { for ( FileItem i : items ) { if ( i . isFormField ( ) && i . getFieldName ( ) . equals ( name ) ) { return i . getString ( ) ; } } return null ; }
Extracts value of the parameter with given name .