code: public static int getIntParam(final HttpServletRequest request, final String name)
        throws ServletException {
      final String p = getParam(request, name);
      return Integer.parseInt(p);
    }
docs: Returns the param and parses it into an int. Will throw an exception if not found, or a parse
  error if the type is incorrect.