RequestDispatcher.forward() and POST
Posted on 2000-02-14
I need to POST various parameters from one servlet to the next.
I've been using sendRedirect (which works, but is very irritating under anything but IE). But forward() seems to be the correct way. However, it only seems to support GET.
So, how can I POST to the next servlet, without annoying "this page has moved" messages appearing.
We need to explicitly dictate whether or not parameters are passed using POST or GET - as our servlets may perform two distinct tasks.