I havea JSP which will call a servlet which will do all the procesing and then depending on the outcome of the result will transfer the results to another servlet. Thats my requirement.
I am using
rd = getServletContext().getRequestDispatcher("/<servlet>");
But the outcome is, the other servlet is called but the URL contains the request value in post method and still contains the caller servlet name on it. So if someone refreshes the page, the caller servlet is called which does the same procesing again.
Is there a way to completely transfer the control to the called servlet?