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
What is the difference between a generic servlet and http servlet?
What’s the difference between forward() and sendredirect() methods?
Why servlet is faster than jsp?
What is Request Dispatcher?
What is servlet attributes and their scope?
What is the inter-servlet communication?
Describe the phases of servlet lifecycle?
What is cookies in servlet with example?
How do we call one servlet from another servlet?
What is the advantage of Servlets when compared with other server side technologies?
Explain url encoding in servlet?
If servlet receives multiple requests, how many objects will it create?
Can you send an authentication error from a servlet?
How do we translate jsp?
How is the get () method different from the post() method?