Forums Register Login

Difference between Sendredirect and Requestdispatcher.forward

+Pie Number of slices to send: Send
Hi,
Can anyone please tell me what the exact difference between these 2 methods, I know that redirect is a call from browser and other from the server. Also sendredirect takes a roundtrip to reach the client. All these are theoretically okay, but somehow I am not digesting these. Can anyone please tell me what the difference is..
Thanks
+Pie Number of slices to send: Send
forward is internal to the server. The client is unaware that a different page is being displayed. sendRedirect sends the client to another paged, so the client is aware of where it is being sent.
+Pie Number of slices to send: Send
Search this forum. You will find several discussiions regaring this.
+Pie Number of slices to send: Send
Thanks Mathew.
I shall serach the entire forum
Steffy
It looks like it's time for me to write you a reality check! Or maybe a tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 615 times.
Similar Threads
What is the difference between requestdispatcher and sendredirect?
Can anybody tell me the difference between sendRedirect & RequestDispatcher object?
sendRedirect vs RequestDispatcher.forward()
Difference between forward() and sendRedirect()
sendRidirect vs Forward
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:59:12.