I have servlet A where there is this code :
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
RequestDispatcher rd = request.getRequestDispatcher("gestion-avis");
rd.forward(request, response);
}
And then another servlet B which refers to "gestion-avis" :
@WebServlet("/gestion-avis")
public class GestionAvisServlet extends HttpServlet
The code of the A servlet normally redirect to the doGet method of the servlet B.
But this redirect me to an empty html page called "gestion-avis".
Thank you for your help !