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 / kuljeet singh

forward() method sendRedirect() method

1) forward() sends the same request to another resource. 1) sendRedirect() method sends new request always because it uses the URL bar of the browser.
2) forward() method works at server side. 2) sendRedirect() method works at client side.
3) forward() method works within the server only 3) sendRedirect() method works within and outside the server.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I run jsp on xampp?

976


How many tags are provided in jstl?

1208


How do I prevent the output of my jsp or servlet pages from being cached by the browser?

1012


What is the use of jstl?

917


What is the differences between the jsp custom tags and java beans?

1032


What are the features of jsp?

976


What is session tracking in jsp?

1070


What are implicit objects in jsp?

1004


Explain the action?

1075


What is jsp and why do we need it?

968


What is jsp? Explain

981


What is the purpose of jsp?

1046


What is the use of session management?

942


Can you use javascript in jsp?

995


What is the default value of session attribute in jsp?

924