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

Explain jsp and tell its uses?

971


What is jsp and its features?

932


What are the different types scripting elements in jsp?

923


What are jsp elements?

948


How is jsp used in the mvc model?

1068


What is the standard action?

988


What is scriptlet in jsp?

975


What is jsp expression?

953


What are the advantages of jstl?

901


What is the difference in using request.getrequestdispatcher() and context.getrequestdispatcher()?

1052


Can we override the jspinit(), _jspservice() and jspdestroy() methods?

925


What is session object in jsp?

1090


What is session getattribute in jsp?

951


What are the possible values for language directive?

910


What is jsp include tag?

904