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
Are Servlets Thread Safe? How to achieve thread safety in servlets?
What are all the protocols supported by httpservlet?
Explain jsessionid?
Differentiate between the get and post method
What is difference between jsp and servlet?
Explain request dispatcher and its methods.
How many servlet objects are created?
Explain the difference between get and post method in servlet?
What's the servlet interface?
How can the session in servlet be destroyed?
When servlet object is created?
What is context in servlet?
What is cookies in servlet with example?
Is servlet a server side scripting language?
Is servlet synchronized?