There is a servlet myServlet and a filter MyFilter , which intercepts the call to the servlet. After the filter, as I understand it, I must first work out the servlet, after which it transfers control to jsp , but I don’t understand how to transfer control to it?
I only get from the filter to immediately issue jsp , if I redirect the request like this:
request.getRequestDispatcher("myJsp.jsp").forward(request , response); In the servlet, you need to do a couple of important calculations.