Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Parameter removal from request for use in RequestDispatcher

843841Aug 21 2003 — edited Sep 24 2003
Hello 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2003
Added on Aug 21 2003
9 comments
548 views