Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is difference between redirect and forward method?

Answer Posted / javahelper

forward() is for sending the data between two applications
in same server only,but sendRedirect() is for sending the
data between two applications between two servers also,
one more different is in forward() mechanism one
request,one response objects will be create but in
sendRedirect() mechanism two request and two response
objects will be create.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which tag is used to execute java source code in jsp?

1248


Why don’t we need to configure jsp standard tags in web.xml?

827


What is jsp and its uses?

884


What is jsp index?

866


What is the jspdestroy() method?

943


Mention the various implicit objects used in the expression

923


How do I mix jsp and ssi #include?

943


Which implicit object is not available in normal jsp pages?

825


How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?

953


Can we use jstl in html?

826


what are the tools used in your project , How to ask the answer this question

1964


Which package does jsp api consist of?

938


Can you use javascript in jsp?

877


What are the different life-cycle methods?

961


Explain client and server side validation?

857