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
What is servletconfig?
How would you create deadlock on your servlet?
What is the life-cycle of servlets?
Is java servlet still used?
Does servlet have main method?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
What is dispatcher servlet?
What is a java servlet?
How to commuincate between an applet and a servlet?
How can we invoke another servlet in a different application?
How do I know if java is running on linux?
What is the structure of the http response
How many servlet objects are created?
Which method is called when reference variable is passed in system.net?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?