A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
redirect() vs getRequestDispatcher()
Joined: Aug 18, 2006
Aug 18, 2006 12:16:00
Can anybody help me to know the difference between response.redirect() and request.getRequestDispatcher()? Thanks...
Author and ninkuma
Joined: Jan 10, 2002
Aug 18, 2006 12:17:00
One is used to perform a forward or include, the other a redirect.
Perhaps a more expansive question would yield a more expansive answer.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: redirect() vs getRequestDispatcher()
Jsp: Forward and response.redirect
getRequestDispatcher route's difference,
Composition Vs Inheritance
request.getParameter() vs request.getAttribute()
sendRidirect vs Forward
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015