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 Forward() and sendRedirect()
methode?

Answer Posted / mohan

I want to add one more point to the above answers, that is,
in case of Forward() the attributes related to the request
will remain same, as it is inside the server, whereas
incase of senRedirect(), it results in a new request so the
previous attributes of the request will be lost...

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different ways for servlet authentication?

1162


How can a servlet be used to generate plain text instead of html?

995


Explain how to improve Servlet Performance?

1194


What is servlet name in web xml?

1037


What are the kinds of http requests?

1094


Explain the difference between get and post method in servlet?

1191


Why filter is used in servlet?

1038


What are the features added in Servlet 2.5?

1317


Difference between httpservlet and generic servlets?

1155


How can you use a servlet to generate a plain text instead of html?

1178


How we can call a jsp from the servlet?

1055


Explain the difference between servlet and cgi?

1209


What is Request Dispatcher?

1508


What are the objects involved when a servlet receives a call from client?

1089


Can you create a deadlock condition on a servlet?

1123