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!

forward from doPost() to doGet()

843840Mar 1 2002 — edited Mar 4 2002
Hi

Does someone know how to forward a request from the doPost() method of servlet2 to the doGet() of servlet1.

The idea is that after processing a form with the doPost() of servlet2, I want to come back to the initial page generated by the doGet() of servlet1.

If I simply use dispatcher.forward, of course it calls the doPost() of servlet1. And the doGet() of servlet2 is already in use...

Thanks!!!

Nicolas

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 1 2002
Added on Mar 1 2002
2 comments
995 views