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 is the use of java servlet api?

1036


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

1117


Define the lifecycle for executing a jsp page.

1085


Explain web application directory arrangement?

1070


Explain how to improve Servlet Performance?

1146


What is life cycle of Servlet?

1077


What methodology can be followed to store more number of objects in a remote server?

2281


What do you mean by request dispatcher in servlet?

1119


Why don't we write a constructor in a servlet?

1057


What is cookie in servlet?

1060


Explain the servlet context.

1154


why we should override only no-agrs init() method.

1134


What is the need of servlet filters?

1011


What is the use of httpservletrequestwrapper?

1104


Which method is called when reference variable is passed in system.net?

2409