code: public static void respondAsHtmlUsingTemplate(HttpServletResponse resp, String resourcePageTemplate)
              throws IOException {
          respondAsHtmlUsingTemplateWithHttpStatus(resp, resourcePageTemplate, HttpStatus.SC_OK);
      }
docs: Sends a HTTP response as a text/html document. Replies with HTTP status code 200 OK
  
  @param resp
  A {@link HttpServletResponse} object that the servlet is responding on.
  @param resourcePageTemplate
  The HTML template to use which is loaded as a classpath resource.
  @throws IOException