package io.bitbucket.NombreDeUsuario.jee06.generadores; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.http.HttpServletResponse; public final class DocumentoHtml { public static void deError(HttpServletResponse response) throws IOException { response.setCharacterEncoding("UTF-8"); response.setContentType("text/html"); PrintWriter salida = response.getWriter(); StringBuffer documento = new StringBuffer(); documento.append(""); documento.append(""); documento.append("
"); documento.append(""); documento.append("¡El formato solicitado no es reconocido!
"); documento.append("