A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
What is the difference between requestdispatcher and sendredirect?
Bharathi Dhas Krishnasamy
Joined: Jun 20, 2009
Jul 31, 2009 08:49:53
I have doubt in difference between requestdispatcher and sendredirect.
Anyone can explain that?
Author and ninkuma
Joined: Jan 10, 2002
Jul 31, 2009 09:02:33
Have you read the javadocs on these classes? The
Specification? Between these two resources, all is explained.
Or do you have
questions regarding their differences that you did not understand after reading the above?
Asking smart questions
Books by Bear
Joined: Sep 29, 2008
Jul 31, 2009 09:22:36
One's a method, one's a class (interface maybe; I don't recall).
Joined: Nov 06, 2000
Jul 31, 2009 15:45:26
This is one of the most asked questions. I believe it's also in the FAQ. If not, just check the docs.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
It is sorta covered in the
JavaRanch Style Guide
subject: What is the difference between requestdispatcher and sendredirect?
SendRedirect Vs RequestDispatcher
forward and sendRedirect
forward() method of RequestDispatcher vs sendRedirect() on Response object
what is requestDispatcher
What is difference between RequestDispatcher() and sendRedirect()?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014