code: public static String getRequestParameterValue(final HttpServletRequest request, final String key) {
  		String[] values = getRequestParameterValues(request, key);
  		return values == null || values.length == 0 ? null : values[0];
  	}
docs: Get a value for a request parameter allowing for multi part form fields.
  
  @param request the request being processed
  @param key the parameter key to return
  @return the parameter value