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!

sendRedirect and post parameter

843840Oct 7 2002 — edited Mar 20 2003
How can I post data from a servlet to another and pass control to the second servlet, as I make with the response.sendRedirect() method?
Can you help me?
If I insert in this method the url with parameters
(res.sendRedirect("http://server/servlet?par=val") I call the doGet method of the servlet. How can I call the do Post?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 17 2003
Added on Oct 7 2002
15 comments
470 views