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!

Adding request parameters to redirect URL

843836Jul 5 2005 — edited Jul 14 2005
I have a page which sends a redirect in the event of an error. The code used for redirecting is
response.sendRedirect(url)
What I want to be able to do is add parameters to that. I could do it by just appending them to the url like
url = + "?x=y&z=blah"
but I'd much rather send them more "behind the scenes", as if they were submitted by POST rather than GET, since the original page is in response to a POST.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 11 2005
Added on Jul 5 2005
7 comments
753 views