package io.bitbucket.NombreDeUsuario.jee08.servlets; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import io.bitbucket.NombreDeUsuario.jee08.generadores.DocumentoHtml; @WebServlet("/servlets/c") public class ServletC extends HttpServlet { private static final String SUJETO = "ServletA"; protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { DocumentoHtml.comun(SUJETO, request, response); } protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { DocumentoHtml.comun(SUJETO, request, response); } }