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 SingleThreadModel interface?
How do you load an image in a Servlet?
What are the difference between session and cookies in servlet? Explain
What is a servlet-to-servlet communcation?
What is the difference between servlet and filter?
Difference between java beans & servlets?
How can I send user authentication information while making URL Connection?
What is called servlet container?
Explain the lifecycle of a servlet?
What are the two important api's in for servlets?
What is servlet mapping?
What is a servlet context object?
How to get the path of servlet in the server?
What are the uses of servlet
What are sessions in servlets?