This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Use of sendRedirect & RequestDispatcher Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Use of sendRedirect & RequestDispatcher" Watch "Use of sendRedirect & RequestDispatcher" New topic

Use of sendRedirect & RequestDispatcher

Tarun Oohri
Ranch Hand

Joined: Feb 20, 2013
Posts: 189
Hello Everyone

I know the concept of SendRedirect & RequestDispatcher but ultimately both result in the same job (Navigating from one servlet/jsp to another).
So, how will we get to know in what cases we should use SendRedirect & when should we use RequestDispatcher ?

Ahsan Bagwan
Ranch Hand

Joined: Oct 05, 2010
Posts: 242

Please take the time to CarefullyChooseOneForum

Previous discussions could be of help - 1 2
I agree. Here's the link:
subject: Use of sendRedirect & RequestDispatcher
It's not a secret anymore!