This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread 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()
It's not a secret anymore!