What is the use of RequestDispatcher in servlet?
Answer Posted / pramod p deore
RequestDispatcher is used to transfer the control to other
JSP or servlet.
RequestDispatcher rd= request.getRequestDispatcher
("result.jsp);
rd.forward (request, response);
| Is This Answer Correct ? | 9 Yes | 6 No |
Post New Answer View All Answers
What do you mean by chaining in servlet?
What are the phases of the servlet life cycle?
Explain servlet events?
Name the packages that work with servlet?
How to get the actual path of servlet in server?
What is pure servlet?
How can I send user authentication information while making URL Connection?
Tell us something about servletcontext interface.
What is a java servlet?
Who is responsible for writing a constructor?
Which method of the httpservletrequest object is used?
What are the uses of servlet and what is servlet chaining?
What is the difference between a generic servlet and http servlet?
How the typical servlet code look like ?
How to upload a file to the server using servlet?