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 is the major difference between servlet and applet?
Why do we need servlet filter?
What is dispatcher servlet?
What mechanisms are used by a Servlet Container to maintain session information?
Why is init() method is used in servlets?
What is MIME Type?
What is httpservlet class?
What is difference between jsp and servlet?
What are the ways to handle multi-threading in servlets?
Explain mvc pattern.
What is meant by session? Tell me something about httpsession class?
Explain the difference between servlet and cgi?
Difference between doget and dopost?
Define context initialization parameters.
What are the common methods that are included in the http servlet class?