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

What are the lifecycle phases of a jsp?

1065


Which attribute specifies a jsp page that should process any exceptions thrown but not caught in the current page? : Citibank

990


What are the implicit, internal objects and methods on the jsp page?

932


What are custom tags?

878


What is session tracking in jsp?

1066


Which categories can be divided jstl tags, give examples.

923


What is the difference between jsp and php?

952


What is jsp expression?

1008


How can we avoid direct access of jsp pages from client browser?

1210


How to deactivate el on jsp?

1022


What is a expression?

977


What are different implicit objects of jsp?

961


How many types of jsp tags are there?

939


What is jsp and asp?

1026


How jsp is executed by web server?

1070