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's the difference between servlets and applets?
Can a jsp be called using a servlet?
What are the key methods that are involved in processing of http servlets?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
What is meant by a web application
What are the mechanisms used by a servlet container for maintaining session information?
What do you mean by servlet?
What do you mean by httpservlet?
Can we use threads in Servlets?
Explain get and post.
What are the life cycle methods of the servlet?
Can we get PrintWriter and ServletOutputStream both in a servlet?
What is servlet and list its types?
Tell us something about servletconfig interface.
What is the major difference between context parameter and context attribute?