That is the feature of RequestDispatcher.
By calling forward() method, you actually are telling the server to display the output using the JSP.
You are not telling the server to send new HTTP request to the JSP.
You need to learn more about RequestDispatcher.forward() and response.sendRedirect() methods.
posted 1 year ago
I am using Struts. not the usual Java. I have tried to use mapping.findForward("mobileNewAddress") but still the same results.
Please help on how to use Struts with redirecting to the .jsp page.