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
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What is a java servlet?
Explain the difference between generic servlet and http servlet?
How do you deal property files in servlet?
how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file
What are the different types of servlets?
What is a servlet-to-servlet communcation?
Why is http protocol called as a stateless protocol?
What are the advantages of cookies?
How can we create deadlock situation in servlet?
Is servlet a framework?
What is http servlet?
What are the supporting protocol by HttpServlet ?
What is generic servlet class?
Name the packages that work with servlet?