Parameter removal from request for use in RequestDispatcher
843841Aug 21 2003 — edited Sep 24 2003Hello there,
Does anyone know how to remove parameters from a request which will then be used in a RequestDispatcher.forward() call?
We have two servlets 'A' & 'B'. Servlet 'A' recieves a request that contains an event parameter. This event is executed in servlet 'A', after which we wish to perform a RequestDispatcher.forward() call to servlet 'B'. Unfortunatley as the request is passed through to forward(), the event paramter is also being passed. Our framework wil lthen attempt to execute an method based on this event parameter, when no such method exists. I klnow a dummy methods can be placed in Servlet 'B' but this seems a messy.
I would be grateful for any guidance.
Thanks very much.