What is the difference between RequestDispatcher and
sendRedirect?-
Answer Posted / nagababu
RequestDispatcher: server-side redirect with request and
response objects.
sendRedirect : Client-side redirect with new request and
response objects.
| Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
What is the major difference between context parameter and context attribute?
How to get the current httpsession object?
What are the phases of the servlet life cycle?
How to commuincate between an applet and a servlet?
What are some advantages of storing session state in cookies?
How will you pass values from HTML page to the servlet?
How do you create a cookie using servlet?
Difference between doget and dopost?
What is the web server used for running the Servlets?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
What is the directory structure of a war file?
When servlet object is created?
What does the term localization refer to?
What is lazy loading and what is Generic Servlet Class?