code: public static boolean parameterEquals (HttpServletRequest req, String name, String value)
      {
          return value.equals(getParameter(req, name, false));
      }
docs: Returns true if the specified parameter is equal to the supplied value. If the parameter is
  not set in the request, false is returned.
  
  @param name The parameter whose value should be compared with the supplied value.
  @param value The value to which the parameter may be equal. This should not be null.
  
  @return true if the specified parameter is equal to the supplied parameter, false otherwise.