What is the use of RequestDispatcher in servlet?
Answer Posted / gani kumar
In creating the web componets we find a requirement to reuse the components in different combinations avoiding the code duplication and have a proper reponsibility divison.
To meet this requirement in servlet envirnoment that is support a servlet acess another web resource like another servlet in the application,java servlet intrduces request dispatcher
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
why we should override only no-agrs init() method.
How does tomcat servlet container work?
What are different Authentication options available in Servlets.
Difference between doget and dopost?
What is servlet looping or chaining?
Tell us something about servletcontext interface.
Explain jsessionid?
what is servlet chaining?
How do you run a servlet?
How do you communicate in between Applets and Servlets?
What is servlet used for?
Can you refresh servlet in client and server-side automatically?
What is servlet and its use?
Explain the role of dispatcherservlet and contextloaderlistener.
What is difference between GenericServlet and HttpServlet?