What is the use of RequestDispatcher in servlet?
Answer Posted / malyadri b
RequestDispatcher
rd=ServletContext.getRequestDispatcher("url of resource");
rd.forward(req,res);----used to forward to another resource.
rd.include(req,res);----used to include other resource.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is servlet in simple terms?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
What is servlet name in web xml?
What are all the advantages of servlet over cgi?
What are the types of protocols supported by httpservlet ?
How to get the server information in a servlet?
How do you define a servlet?
How to upload a file to the server using servlet?
How do servlets work?
Why do we have servlet listeners?
what is multiple server?
What is the use of send redirect () method?
What is the process for chaining servlet?
Explain the architechure of a servlet?
How many servlet objects are created?