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

forward will make the flow into a different page,where as
include mechanism will include the page to the current
response and continues the flow.
Note:the forward and include should be called before the
response is committed for example before the call to flush()
or flushBuffer() or the write method in the response stream

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different session tracking techniques?

1145


How the typical servlet code look like ?

1137


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

1027


Why servlet is faster than jsp?

1010


What is the major difference between servlet and applet?

944


Difference between GET and POST?

1085


What is servlet invoker?

990


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

975


What is called a session?

1116


What are the advantages of servlets over traditional cgi?

1037


How do I support both get and post from the same servlet?

1171


Explain web application directory arrangement?

999


What exactly are the functions of servlet?

1034


What is the element?

1005


Why do we have servlet wrapper classes?

1009