What is the use of RequestDispatcher in servlet?
Answer Posted / srikanth
While developing complex web applications you need distribute request processing and response to multiple servlets in this case you need dispatch request from one component to another
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can the session in servlet be destroyed?
How can the session in servlet can be destroyed?
Explain web application directory arrangement?
Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!
What is the difference between genericservlet and httpservlet
How can you start a jta transaction from a servlet deployed on jboss?
Can servlet have a constructor ?
What is url encoding and url decoding
Explain how to improve Servlet Performance?
explain the advantages of servlet life cycle?
Which exception is thrown if the servlet is not initialized properly?
What are different ways for servlet authentication?
What is a servlet engine?
Explain the methods of request dispatcher in servlet?
How do we go with database connection and log4j integration in servlet?