RequestDispatcher.forward to another servlet to handle form in doPost?
Joined: Aug 01, 2006
I have a servlet named ServletA. I did a RequestDispatcher.forward to ServletB.
However in ServletB, I have to handle a Post action due to form handling. However, it will not trigger the doPost in ServletB. Instead it triggers the doPost in ServletA. I do not wish it to trigger doPost in ServletA.
I cannot do a redirect from ServletA to ServletB as I need to retain the context information.