Forums Login/signup

sending parameters from one servlet to another

+Pie Number of slices to send: Send
Is it posible to send request object and its parameters to another servlet, using response.sendRedirect() or something similar.
i have posted lot of data to the servlet, and the servlet needs to send some data to another servlet. It cannot be GET. How to do this?
+Pie Number of slices to send: Send
use
RequestDispatcher dipatcher = request.getRequestDispatcher("nameOfYourServlet");
dispatcher.forward(request, response);
Cheers,
Ruud.

reply
reply
This thread has been viewed 1013 times.
Similar Threads
java fun
How to send
Send Form info
Getting Java session from perl/cgi ..is it possible?
action forward to servlet
More...

All times above are in ranch (not your local) time.
The current ranch time is
Jun 30, 2025 11:29:37.