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 forward() and include() of servlets
RequestDispatcher interface?

Answer Posted / nagababu

include() we have used include method for dispatch the
request, The browser will get the output generated by
Calling Servlet and Called Servlet.

forward() we have used forward method for dispatch request,
The browser will get the output generated by Called Servlet
and Calling Servlet will be discarded.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are Servlets Thread Safe? How to achieve thread safety in servlets?

917


What are all the protocols supported by httpservlet?

1181


Explain jsessionid?

974


Differentiate between the get and post method

1003


What is difference between jsp and servlet?

1116


Explain request dispatcher and its methods.

944


How many servlet objects are created?

1007


Explain the difference between get and post method in servlet?

1076


What's the servlet interface?

1029


How can the session in servlet be destroyed?

1100


When servlet object is created?

1069


What is context in servlet?

977


What is cookies in servlet with example?

1015


Is servlet a server side scripting language?

1061


Is servlet synchronized?

1016