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

Explain the difference between get and post method in servlet?

1092


Explain the steps involved in placing a servlet within a package?

1002


What are the differences between servlet context vs servlet config?

1031


What's the difference between servlets and applets?

998


What is the difference between servlet and filter?

921


List out the difference between ServletConfig and ServletContext?

996


How can the session in servlet be destroyed?

1108


What is session?

1007


Explain how does JSP handle run-time exceptions?

1046


Write a program to show the functionality of doget and dopost method?

1160


How do I use cookies to store session state on the client?

914


What's the use of servletcontext?

1104


Can we override destroy method in servlet?

946


Can we fetch the attributes related to a servlet on a different servlet?

1096


How to make sure a servlet is loaded at the application startup?

999