SendRedirect vs RequestDispatcher practical example in jsp and servlets.
SendRedirect has two disadvantages when compared to RequestDispatcher.
1) Round trip through the browser decreases the performance
2) First request object containing important information is lost.
These problems are overcome in case of RequestDispatcher technique.
But sendredirect technique is better then RequestDispatcher if we want to forward to a page outside of the application.
For private Online Java Training please visit https://www.javatutoronline.com
Watch video SendRedirect vs RequestDispatcher in Servlet Example. How to use SendRedirect and RequestDispatcher online without registration, duration hours minute second in high quality. This video was added by user Chinmay Patel 24 January 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,946 once and liked it 133 people.