From cdb289581604dc37a734e6e18548d95540101d99 Mon Sep 17 00:00:00 2001 From: Josebaezx Date: Sat, 14 May 2022 17:05:23 -0400 Subject: [PATCH] Se agrega clase para filtrar postulantes --- src/main/java/com/roshka/proyectofinal/Postulante/Filtros.java | 20 ++++++++++++++++++++ src/main/webapp/menu.html | 2 +- src/main/webapp/postulante-consulta.jsp | 14 ++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 src/main/java/com/roshka/proyectofinal/Postulante/Filtros.java create mode 100644 src/main/webapp/postulante-consulta.jsp diff --git a/src/main/java/com/roshka/proyectofinal/Postulante/Filtros.java b/src/main/java/com/roshka/proyectofinal/Postulante/Filtros.java new file mode 100644 index 0000000..fc42eb3 --- /dev/null +++ b/src/main/java/com/roshka/proyectofinal/Postulante/Filtros.java @@ -0,0 +1,20 @@ +package com.roshka.proyectofinal.Postulante; + +import jakarta.servlet.RequestDispatcher; +import jakarta.servlet.ServletException; +import jakarta.servlet.annotation.WebServlet; +import jakarta.servlet.http.HttpServlet; +import jakarta.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletResponse; + +import java.io.IOException; + +@WebServlet("/filtros-postulante") +public class Filtros extends HttpServlet { + + @Override + protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { + RequestDispatcher reqDisp= req.getRequestDispatcher("postulante-consulta.jsp"); + reqDisp.forward(req,resp); + } +} diff --git a/src/main/webapp/menu.html b/src/main/webapp/menu.html index f8a55bf..cf383e3 100644 --- a/src/main/webapp/menu.html +++ b/src/main/webapp/menu.html @@ -81,7 +81,7 @@ a{