wood burning stoves*
The moose likes Servlets and the fly likes difference between RD and response.sendRedirect() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "difference between RD and response.sendRedirect()" Watch "difference between RD and response.sendRedirect()" New topic

difference between RD and response.sendRedirect()

sathish kannan

Joined: Jul 11, 2002
Posts: 29
Can you please explain what is the difference between RequestDispatcher.include()/forward() and response.sendRedirect() and in which context we should use that.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
You can search the forum. You will see that this has been discusses so many times.

So much trouble in the world -- Bob Marley
I agree. Here's the link: http://aspose.com/file-tools
subject: difference between RD and response.sendRedirect()
Similar Threads
response.redirect and jsp:forward
SendRidirect vs RequestDispatcher
sendRedirect & forward
sendRedirect Vs requestdispatcher.forward