This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
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

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:
subject: difference between RD and response.sendRedirect()