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
If servlet receives multiple requests, how many objects will it create?
how many jsp scripting elements are there and what are those?
Define the servlet mapping.
What is url encoding and url decoding
When Servlet is unloaded?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
What are the difference between RMI and Servlets?
What is the difference in between the httpservlet and generic servlet?
What is a servlet context?
Which is better jsp or servlet?
What is SingleThreadModel interface?
What is string tokenizer?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
How will you pass values from HTML page to the servlet?
What is servlet attributes and their scope?