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
What is the purpose of inter-servlet communication?
What is servlet and its use?
What do you mean by url pattern in servlet?
Differentiate between the print writer and servlet output stream?
How we can get ip address of client in servlet?
How do you design microservices?
What are advantages of servlets over cgi?
Explain the methods of request dispatcher in servlet?
What are the uses of servlet and what is servlet chaining?
What is a generic servlet?
What are the jobs performed by servlets?
Explain the working of service() method of a servlet.
What do you mean by cgi?
Differentiate between get and post?
What is cgi and what are its drawbacks?