File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
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
I agree. Here's the link:
subject: What is the difference between requestdispatcher and sendredirect?
forward and sendRedirect
SendRedirect Vs RequestDispatcher
What is difference between RequestDispatcher() and sendRedirect()?
what is requestDispatcher
forward() method of RequestDispatcher vs sendRedirect() on Response object
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015