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
Explain in brief the directory structure of a web application?
Given the request path below, which are context path, servlet path and path info?
What are the objects involved when a servlet receives a call from client?
Who is responsible for writing a constructor?
Explain the steps involved in placing a servlet within a package?
If some new data has entered the database, explain how can a servlet refresh automatically?
What does the term localization refer to?
Tell us something about servletconfig interface.
What are the different types of servlets?
What is servlet in tomcat?
What must be implemented by all servlets?
How to get the path of servlet in the server?
Why do we have servlet wrapper classes?
how many jsp scripting elements are there and what are those?
How can the session in servlet can be destroyed?