File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Head First Android this week in the Android 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:
subject: difference between RD and response.sendRedirect()
It's not a secret anymore!