What is the difference between RequestDispatcher and
sendRedirect?-
Answer Posted / sitaram
RequestDispatcher: Serverside redirect with same request
and response objects.
SendRedirect: Client-side redirect with new request and
response objects.
Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
How the typical servlet code look like ?
What’s the difference between forward() and sendredirect() methods?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
How printwriter is different from servletoutputstream?
How can you run a servlet program?
What are some advantages of storing session state in cookies?
How to get the path of servlet in the server?
What are the important functions of filters?
What is the process to implement doget and dopost methods?
Should I override the service() method?
What is the difference in between the httpservlet and generic servlet?
What does the term localization refer to?
What is cookies in servlet with example?
Define the servlet mapping.
What is context in servlet?