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 / sayed2010

Forward:
1-It takes place internally by the servlet(Server side
operation.
2-The browser is completely unaware that it has taken place.
3-The original request remains unchanged.
4-A browser reload of the resulting page will simply repeat
the original url and the original request.

Redirect:
1-Is a two step process.
2- 1st step-> is that the browser is instructed to fetch a
new url differs from the original url.
3-It require two browser requests.
Object placed in the first request will not be available to
the second request.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scripting elements in jsp?

936


Mention the scope values for tag.

923


What is the purpose of creating custom tags?

924


What is the jspdestroy() method?

994


What is out in jsp?

893


What is difference between html and jsp?

985


What is jsp standard tag library, provide some example usage?

894


How can I declare methods within my jsp page?

928


What do cookies mean?

857


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?

1007


Why are jsp pages the preferred api for creating a web-based client program?

1052


What do you mean by custom tag in jsp?

970


What is jsp taglib?

889


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

879


Can a jsp page process html form data?

984