This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sending parameters from one servlet to another

 
Ria Mathur
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ruud Steeghs
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use
RequestDispatcher dipatcher = request.getRequestDispatcher("nameOfYourServlet");
dispatcher.forward(request, response);
Cheers,
Ruud.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic