What is the use of RequestDispatcher in servlet?
Answer Posted / abhishek taneja
request dispatcher is used to transfer the value attributes
to servlets and jsps. the request diapatcher is use the
relative url and there is one more thing in request
dispatcher is (non -idempotant) means when u will do the
multiple submits then it will update the database again and
again so to avoid the multiple submits use the (Synchronizer
token pattern,PSG pattern,or sendRedirect)
Is This Answer Correct ? | 29 Yes | 17 No |
Post New Answer View All Answers
Difference between forward() method and sendredirect() method ?
What are its drawbacks of cgi?
What do you mean by web applications?
What do you mean by request dispatcher in servlet?
What do you mean by cgi in servlet?
What do you mean by httpservlet and how it is different from the genericservlet?
How can we upload the file to the server using servlet?
Difference between GET and POST?
What are the types of an http request?
What do you understand by mime type?
How many objects of a servlet is created?
How can I send user authentication information while making URL Connection?
What are the exceptions thrown by servlets? Why?
What is the difference between Servlets and Applets?
List the Different types of servlet?